Interface AccessPolicy
-
- All Superinterfaces:
org.gcube.informationsystem.base.reference.Element,GCubeProperty,org.gcube.informationsystem.model.reference.ModelElement,org.gcube.informationsystem.model.reference.properties.Property,org.gcube.informationsystem.base.reference.properties.PropertyElement,org.gcube.informationsystem.base.reference.SchemaMixedElement,Serializable
- All Known Implementing Classes:
AccessPolicyImpl
@TypeMetadata(name="AccessPolicy", description="AccessPolicy information", version="1.0.0") @Change(version="1.0.0", description="First Version") public interface AccessPolicy extends GCubeProperty- Author:
- Luca Frosini (ISTI - CNR)
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static AccessPolicygetDefaultInstance()Returns a default instance of AccessPolicyStringgetNote()A note associated with the access policyValueSchemagetPolicy()The access policyvoidsetNote(String note)Sets a note associated with the access policyvoidsetPolicy(ValueSchema policy)Sets the access policy
-
-
-
Field Detail
-
NAME
static final String NAME
The name associated with this property- See Also:
- Constant Field Values
-
-
Method Detail
-
getDefaultInstance
static AccessPolicy getDefaultInstance()
Returns a default instance of AccessPolicy- Returns:
- a default instance of AccessPolicy
-
getPolicy
@ISProperty ValueSchema getPolicy()
The access policy- Returns:
- the access policy
-
setPolicy
void setPolicy(ValueSchema policy)
Sets the access policy- Parameters:
policy- the access policy
-
getNote
@ISProperty String getNote()
A note associated with the access policy- Returns:
- the note
-
setNote
void setNote(String note)
Sets a note associated with the access policy- Parameters:
note- the note
-
-