Interface TemplateFacet
- All Superinterfaces:
org.gcube.informationsystem.base.reference.Element,org.gcube.informationsystem.model.reference.entities.Entity,org.gcube.informationsystem.base.reference.entities.EntityElement,org.gcube.informationsystem.model.reference.ERElement,org.gcube.informationsystem.model.reference.entities.Facet,org.gcube.informationsystem.base.reference.IdentifiableElement,org.gcube.informationsystem.model.reference.ModelElement,Named,org.gcube.informationsystem.base.reference.SchemaMixedElement,Serializable
- All Known Implementing Classes:
TemplateFacetImpl
@TypeMetadata(name="TemplateFacet",
description="This facet define a template for a Facet to instantiate using the list of attributes specified. The type of the instatianted facet is specified in \'targetFacetType\' attribute",
version="1.0.0")
@Change(version="1.0.0",
description="First Version")
public interface TemplateFacet
extends org.gcube.informationsystem.model.reference.entities.Facet, Named
- Author:
- Luca Frosini (ISTI - CNR)
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final StringFields inherited from interface org.gcube.informationsystem.base.reference.Element
DATETIME_PATTERN, TYPE_PROPERTYFields inherited from interface org.gcube.informationsystem.model.reference.ERElement
CONTEXTS_PROPERTYFields inherited from interface org.gcube.informationsystem.base.reference.IdentifiableElement
ID_PROPERTY, METADATA_PROPERTYFields inherited from interface org.gcube.informationsystem.model.reference.ModelElement
EXPECTED_TYPE_PROPERTY, SUPERTYPES_PROPERTYFields inherited from interface org.gcube.resourcemanagement.model.reference.properties.utilities.Named
NAME_PROPERTY -
Method Summary
Modifier and TypeMethodDescriptionvoidaddProperty(AttributeProperty property) getName()Gets the name of the facet.voidsetDescription(String description) voidSets the name of the facet.voidsetProperties(List<AttributeProperty> properties) voidsetTargetType(String targetType) Methods inherited from interface org.gcube.informationsystem.base.reference.Element
getTypeNameMethods inherited from interface org.gcube.informationsystem.base.reference.entities.EntityElement
getID, getMetadata, setID, setMetadataMethods inherited from interface org.gcube.informationsystem.model.reference.ERElement
getContextsMethods inherited from interface org.gcube.informationsystem.model.reference.entities.Facet
getAdditionalProperties, getAdditionalProperty, setAdditionalProperties, setAdditionalPropertyMethods inherited from interface org.gcube.informationsystem.model.reference.ModelElement
getExpectedtype, getSupertypes
-
Field Details
-
NAME
- See Also:
-
DESCRIPTION_PROPERTY
- See Also:
-
TARGET_TYPE_PROPERTY
- See Also:
-
PROPERTIES_PROPERTY
- See Also:
-
-
Method Details
-
getName
@ISProperty(name="name", description="The name of the template", mandatory=true, nullable=false) String getName()Description copied from interface:NamedGets the name of the facet. -
setName
Description copied from interface:NamedSets the name of the facet. -
getDescription
@ISProperty(name="description", description="The description of the template", readonly=false, mandatory=true, nullable=false) String getDescription() -
setDescription
-
getTargetType
@ISProperty(name="targetType", description="The type of Facet to instantiate with the attributes valued", readonly=false, mandatory=true, nullable=false) String getTargetType() -
setTargetType
-
getProperties
@ISProperty(name="properties", description="The attributes of the template to be created when instantiated", readonly=false, mandatory=true, nullable=false, min=1) List<AttributeProperty> getProperties() -
setProperties
-
addProperty
-