Class AccessPolicyImpl
java.lang.Object
org.gcube.informationsystem.base.impl.ElementImpl
org.gcube.informationsystem.base.impl.properties.PropertyElementImpl
org.gcube.informationsystem.model.impl.properties.PropertyImpl
org.gcube.resourcemanagement.model.impl.properties.GCubePropertyImpl
org.gcube.resourcemanagement.model.impl.properties.AccessPolicyImpl
- All Implemented Interfaces:
Serializable,org.gcube.informationsystem.base.reference.Element,org.gcube.informationsystem.base.reference.properties.PropertyElement,org.gcube.informationsystem.base.reference.SchemaMixedElement,org.gcube.informationsystem.model.reference.ModelElement,org.gcube.informationsystem.model.reference.properties.Property,AccessPolicy,GCubeProperty
- Author:
- Luca Frosini (ISTI - CNR)
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected StringAn optional note about the access policyprotected ValueSchemaThe access policy according to the schemaFields inherited from class org.gcube.informationsystem.base.impl.properties.PropertyElementImpl
additionalProperties, allowedAdditionalKeys, expectedtype, supertypesFields inherited from interface org.gcube.resourcemanagement.model.reference.properties.AccessPolicy
NAMEFields inherited from interface org.gcube.informationsystem.base.reference.Element
DATETIME_PATTERN, NAME, TYPE_PROPERTYFields inherited from interface org.gcube.resourcemanagement.model.reference.properties.GCubeProperty
NAMEFields inherited from interface org.gcube.informationsystem.model.reference.ModelElement
EXPECTED_TYPE_PROPERTY, SUPERTYPES_PROPERTYFields inherited from interface org.gcube.informationsystem.model.reference.properties.Property
NAME -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetNote()A note associated with the access policyThe access policyvoidSets a note associated with the access policyvoidsetPolicy(ValueSchema policy) Sets the access policyMethods inherited from class org.gcube.informationsystem.base.impl.properties.PropertyElementImpl
addAllowedAdditionalKey, getAdditionalProperties, getAdditionalProperty, getExpectedtype, getSupertypes, setAdditionalProperties, setAdditionalPropertyMethods inherited from class org.gcube.informationsystem.base.impl.ElementImpl
getTypeName, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.gcube.informationsystem.base.reference.Element
getTypeNameMethods inherited from interface org.gcube.informationsystem.model.reference.ModelElement
getExpectedtype, getSupertypesMethods inherited from interface org.gcube.informationsystem.model.reference.properties.Property
getAdditionalProperties, getAdditionalProperty, setAdditionalProperties, setAdditionalProperty
-
Field Details
-
policy
The access policy according to the schema -
note
An optional note about the access policy
-
-
Constructor Details
-
AccessPolicyImpl
public AccessPolicyImpl()Default constructor
-
-
Method Details
-
getPolicy
The access policy- Specified by:
getPolicyin interfaceAccessPolicy- Returns:
- the access policy
-
setPolicy
Sets the access policy- Specified by:
setPolicyin interfaceAccessPolicy- Parameters:
policy- the access policy
-
getNote
A note associated with the access policy- Specified by:
getNotein interfaceAccessPolicy- Returns:
- the note
-
setNote
Sets a note associated with the access policy- Specified by:
setNotein interfaceAccessPolicy- Parameters:
note- the note
-