Class SoftwareFacetImpl
java.lang.Object
org.gcube.informationsystem.base.impl.ElementImpl
org.gcube.informationsystem.base.impl.entities.EntityElementImpl
org.gcube.informationsystem.model.impl.entities.EntityImpl
org.gcube.informationsystem.model.impl.entities.FacetImpl
org.gcube.resourcemanagement.model.impl.entities.facets.SoftwareFacetImpl
- All Implemented Interfaces:
Serializable,org.gcube.informationsystem.base.reference.Element,org.gcube.informationsystem.base.reference.entities.EntityElement,org.gcube.informationsystem.base.reference.IdentifiableElement,org.gcube.informationsystem.base.reference.SchemaMixedElement,org.gcube.informationsystem.model.reference.entities.Entity,org.gcube.informationsystem.model.reference.entities.Facet,org.gcube.informationsystem.model.reference.ERElement,org.gcube.informationsystem.model.reference.ModelElement,SoftwareFacet,Named
public class SoftwareFacetImpl
extends org.gcube.informationsystem.model.impl.entities.FacetImpl
implements SoftwareFacet
- Author:
- Luca Frosini (ISTI - CNR)
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected Stringprotected Stringprotected booleanprotected Stringprotected StringFields inherited from class org.gcube.informationsystem.model.impl.entities.FacetImpl
additionalProperties, allowedAdditionalKeysFields inherited from class org.gcube.informationsystem.model.impl.entities.EntityImpl
contexts, expectedtype, supertypesFields inherited from class org.gcube.informationsystem.base.impl.entities.EntityElementImpl
metadata, uuidFields inherited from interface org.gcube.informationsystem.base.reference.Element
DATETIME_PATTERN, NAME, TYPE_PROPERTYFields inherited from interface org.gcube.informationsystem.model.reference.entities.Entity
NAMEFields inherited from interface org.gcube.informationsystem.base.reference.entities.EntityElement
NAMEFields inherited from interface org.gcube.informationsystem.model.reference.ERElement
CONTEXTS_PROPERTYFields inherited from interface org.gcube.informationsystem.model.reference.entities.Facet
NAMEFields 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_PROPERTYFields inherited from interface org.gcube.resourcemanagement.model.reference.entities.facets.SoftwareFacet
DESCRIPTION_PROPERTY, GROUP_PROPERTY, NAME, OPTIONAL_PROPERTY, QUALIFIER_PROPERTY, VERSION_PROPERTY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetGroup()getName()Gets the name of the facet.booleanvoidsetDescription(String description) voidvoidSets the name of the facet.voidsetOptional(boolean optional) voidsetQualifier(String qualifier) voidsetVersion(String version) Methods inherited from class org.gcube.informationsystem.model.impl.entities.FacetImpl
addAllowedAdditionalKey, getAdditionalProperties, getAdditionalProperty, setAdditionalProperties, setAdditionalPropertyMethods inherited from class org.gcube.informationsystem.model.impl.entities.EntityImpl
getContexts, getExpectedtype, getSupertypes, setContextsMethods inherited from class org.gcube.informationsystem.base.impl.entities.EntityElementImpl
getID, getMetadata, setID, setMetadataMethods 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.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
-
group
-
version
-
description
-
qualifier
-
optional
protected boolean optional
-
-
Constructor Details
-
SoftwareFacetImpl
public SoftwareFacetImpl()
-
-
Method Details
-
getName
Description copied from interface:NamedGets the name of the facet.- Specified by:
getNamein interfaceNamed- Specified by:
getNamein interfaceSoftwareFacet- Returns:
- the name
-
setName
Description copied from interface:NamedSets the name of the facet.- Specified by:
setNamein interfaceNamed- Specified by:
setNamein interfaceSoftwareFacet- Parameters:
name- the new name
-
getGroup
- Specified by:
getGroupin interfaceSoftwareFacet
-
setGroup
- Specified by:
setGroupin interfaceSoftwareFacet
-
getVersion
- Specified by:
getVersionin interfaceSoftwareFacet
-
setVersion
- Specified by:
setVersionin interfaceSoftwareFacet
-
getDescription
- Specified by:
getDescriptionin interfaceSoftwareFacet
-
setDescription
- Specified by:
setDescriptionin interfaceSoftwareFacet
-
getQualifier
- Specified by:
getQualifierin interfaceSoftwareFacet
-
setQualifier
- Specified by:
setQualifierin interfaceSoftwareFacet
-
isOptional
public boolean isOptional()- Specified by:
isOptionalin interfaceSoftwareFacet
-
setOptional
public void setOptional(boolean optional) - Specified by:
setOptionalin interfaceSoftwareFacet
-