Package io.adminshell.aas.v3.model.impl
Class DefaultConceptDescription
- java.lang.Object
-
- io.adminshell.aas.v3.model.impl.DefaultConceptDescription
-
- All Implemented Interfaces:
ConceptDescription,HasDataSpecification,HasExtensions,Identifiable,Referable
public class DefaultConceptDescription extends java.lang.Object implements ConceptDescription
Default implementation of package io.adminshell.aas.v3.model.ConceptDescription The semantics of a property or other elements that may have a semantic description is defined by a concept description. The description of the concept should follow a standardized schema (realized as data specification template). Constraint AASd-051: A ConceptDescription shall have one of the following categories: VALUE, PROPERTY, REFERENCE, DOCUMENT, CAPABILITY, RELATIONSHIP, COLLECTION, FUNCTION, EVENT, ENTITY, APPLICATION_CLASS, QUALIFIER, VIEW. Default: PROPERTY.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDefaultConceptDescription.BuilderThis builder class can be used to construct a DefaultConceptDescription bean.
-
Field Summary
Fields Modifier and Type Field Description protected AdministrativeInformationadministrationprotected java.lang.Stringcategoryprotected java.util.List<LangString>descriptionsprotected java.util.List<LangString>displayNamesprotected java.util.List<EmbeddedDataSpecification>embeddedDataSpecificationsprotected java.util.List<Extension>extensionsprotected Identifieridentificationprotected java.lang.StringidShortprotected java.util.List<Reference>isCaseOfs
-
Constructor Summary
Constructors Constructor Description DefaultConceptDescription()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)AdministrativeInformationgetAdministration()Administrative information of an identifiable element.java.lang.StringgetCategory()The category is a value that gives further meta information w.r.t. to the class of the element.java.util.List<LangString>getDescriptions()Description or comments on the element.java.util.List<LangString>getDisplayNames()Display name.java.util.List<EmbeddedDataSpecification>getEmbeddedDataSpecifications()Link to the included description of the Data Specification.java.util.List<Extension>getExtensions()An extension of the element.IdentifiergetIdentification()The globally unique identification of the element.java.lang.StringgetIdShort()Identifying string of the element within its name space.java.util.List<Reference>getIsCaseOfs()Reference to an external definition the concept is compatible to or was derived from.inthashCode()voidsetAdministration(AdministrativeInformation administration)Administrative information of an identifiable element.voidsetCategory(java.lang.String category)The category is a value that gives further meta information w.r.t. to the class of the element.voidsetDescriptions(java.util.List<LangString> descriptions)Description or comments on the element.voidsetDisplayNames(java.util.List<LangString> displayNames)Display name.voidsetEmbeddedDataSpecifications(java.util.List<EmbeddedDataSpecification> embeddedDataSpecifications)Link to the included description of the Data Specification.voidsetExtensions(java.util.List<Extension> extensions)An extension of the element.voidsetIdentification(Identifier identification)The globally unique identification of the element.voidsetIdShort(java.lang.String idShort)Identifying string of the element within its name space.voidsetIsCaseOfs(java.util.List<Reference> isCaseOfs)Reference to an external definition the concept is compatible to or was derived from.
-
-
-
Field Detail
-
isCaseOfs
protected java.util.List<Reference> isCaseOfs
-
embeddedDataSpecifications
protected java.util.List<EmbeddedDataSpecification> embeddedDataSpecifications
-
extensions
protected java.util.List<Extension> extensions
-
administration
protected AdministrativeInformation administration
-
identification
protected Identifier identification
-
category
protected java.lang.String category
-
descriptions
protected java.util.List<LangString> descriptions
-
displayNames
protected java.util.List<LangString> displayNames
-
idShort
protected java.lang.String idShort
-
-
Method Detail
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
getIsCaseOfs
public java.util.List<Reference> getIsCaseOfs()
Description copied from interface:ConceptDescriptionReference to an external definition the concept is compatible to or was derived from. Compare to is-case-of relationship in ISO 13584-32 and IEC EN 61360. More information under https://admin-shell.io/aas/3/0/RC01/ConceptDescription/isCaseOf- Specified by:
getIsCaseOfsin interfaceConceptDescription- Returns:
- Returns the List of References for the property isCaseOfs.
-
setIsCaseOfs
public void setIsCaseOfs(java.util.List<Reference> isCaseOfs)
Description copied from interface:ConceptDescriptionReference to an external definition the concept is compatible to or was derived from. Compare to is-case-of relationship in ISO 13584-32 and IEC EN 61360. More information under https://admin-shell.io/aas/3/0/RC01/ConceptDescription/isCaseOf- Specified by:
setIsCaseOfsin interfaceConceptDescription- Parameters:
isCaseOfs- desired value for the property isCaseOfs.
-
getEmbeddedDataSpecifications
public java.util.List<EmbeddedDataSpecification> getEmbeddedDataSpecifications()
Description copied from interface:HasDataSpecificationLink to the included description of the Data Specification. More information under https://admin-shell.io/aas/3/0/RC01/HasDataSpecification/embeddedDataSpecification- Specified by:
getEmbeddedDataSpecificationsin interfaceHasDataSpecification- Returns:
- Returns the List of EmbeddedDataSpecifications for the property embeddedDataSpecifications.
-
setEmbeddedDataSpecifications
public void setEmbeddedDataSpecifications(java.util.List<EmbeddedDataSpecification> embeddedDataSpecifications)
Description copied from interface:HasDataSpecificationLink to the included description of the Data Specification. More information under https://admin-shell.io/aas/3/0/RC01/HasDataSpecification/embeddedDataSpecification- Specified by:
setEmbeddedDataSpecificationsin interfaceHasDataSpecification- Parameters:
embeddedDataSpecifications- desired value for the property embeddedDataSpecifications.
-
getAdministration
public AdministrativeInformation getAdministration()
Description copied from interface:IdentifiableAdministrative information of an identifiable element. Some of the administrative information like the version number might need to be part of the identification. More information under https://admin-shell.io/aas/3/0/RC01/Identifiable/administration- Specified by:
getAdministrationin interfaceIdentifiable- Returns:
- Returns the AdministrativeInformation for the property administration.
-
setAdministration
public void setAdministration(AdministrativeInformation administration)
Description copied from interface:IdentifiableAdministrative information of an identifiable element. Some of the administrative information like the version number might need to be part of the identification. More information under https://admin-shell.io/aas/3/0/RC01/Identifiable/administration- Specified by:
setAdministrationin interfaceIdentifiable- Parameters:
administration- desired value for the property administration.
-
getIdentification
public Identifier getIdentification()
Description copied from interface:IdentifiableThe globally unique identification of the element. More information under https://admin-shell.io/aas/3/0/RC01/Identifiable/identification- Specified by:
getIdentificationin interfaceIdentifiable- Returns:
- Returns the Identifier for the property identification.
-
setIdentification
public void setIdentification(Identifier identification)
Description copied from interface:IdentifiableThe globally unique identification of the element. More information under https://admin-shell.io/aas/3/0/RC01/Identifiable/identification- Specified by:
setIdentificationin interfaceIdentifiable- Parameters:
identification- desired value for the property identification.
-
getCategory
public java.lang.String getCategory()
Description copied from interface:ReferableThe category is a value that gives further meta information w.r.t. to the class of the element. It affects the expected existence of attributes and the applicability of constraints. More information under https://admin-shell.io/aas/3/0/RC01/Referable/category- Specified by:
getCategoryin interfaceReferable- Returns:
- Returns the String for the property category.
-
setCategory
public void setCategory(java.lang.String category)
Description copied from interface:ReferableThe category is a value that gives further meta information w.r.t. to the class of the element. It affects the expected existence of attributes and the applicability of constraints. More information under https://admin-shell.io/aas/3/0/RC01/Referable/category- Specified by:
setCategoryin interfaceReferable- Parameters:
category- desired value for the property category.
-
getDescriptions
public java.util.List<LangString> getDescriptions()
Description copied from interface:ReferableDescription or comments on the element. The description can be provided in several languages. More information under https://admin-shell.io/aas/3/0/RC01/Referable/description- Specified by:
getDescriptionsin interfaceReferable- Returns:
- Returns the List of LangStrings for the property descriptions.
-
setDescriptions
public void setDescriptions(java.util.List<LangString> descriptions)
Description copied from interface:ReferableDescription or comments on the element. The description can be provided in several languages. More information under https://admin-shell.io/aas/3/0/RC01/Referable/description- Specified by:
setDescriptionsin interfaceReferable- Parameters:
descriptions- desired value for the property descriptions.
-
getDisplayNames
public java.util.List<LangString> getDisplayNames()
Description copied from interface:ReferableDisplay name. Can be provided in several languages. More information under https://admin-shell.io/aas/3/0/RC01/Referable/displayName- Specified by:
getDisplayNamesin interfaceReferable- Returns:
- Returns the List of LangStrings for the property displayNames.
-
setDisplayNames
public void setDisplayNames(java.util.List<LangString> displayNames)
Description copied from interface:ReferableDisplay name. Can be provided in several languages. More information under https://admin-shell.io/aas/3/0/RC01/Referable/displayName- Specified by:
setDisplayNamesin interfaceReferable- Parameters:
displayNames- desired value for the property displayNames.
-
getIdShort
public java.lang.String getIdShort()
Description copied from interface:ReferableIdentifying string of the element within its name space. Constraint AASd-002: idShort shall only feature letters, digits, underscore ('_'); starting with a small letter. I.e. [a-z][a-zA-Z0-9_]+. Constraint AASd-003: idShort shall be matched case-insensitive. Constraint AASd-022: idShort of non-identifiable referables shall be unqiue in its namespace. Note: In case the element is a property and the property has a semantic definition (HasSemantics) the idShort is typically identical to the short name in English. Note: In case of an identifiable element idShort is optional but recommended to be defined. It can be used for unique reference in its name space and thus allows better usability and a more performant implementation. In this case it is similar to the 'BrowserPath' in OPC UA. More information under https://admin-shell.io/aas/3/0/RC01/Referable/idShort- Specified by:
getIdShortin interfaceReferable- Returns:
- Returns the String for the property idShort.
-
setIdShort
public void setIdShort(java.lang.String idShort)
Description copied from interface:ReferableIdentifying string of the element within its name space. Constraint AASd-002: idShort shall only feature letters, digits, underscore ('_'); starting with a small letter. I.e. [a-z][a-zA-Z0-9_]+. Constraint AASd-003: idShort shall be matched case-insensitive. Constraint AASd-022: idShort of non-identifiable referables shall be unqiue in its namespace. Note: In case the element is a property and the property has a semantic definition (HasSemantics) the idShort is typically identical to the short name in English. Note: In case of an identifiable element idShort is optional but recommended to be defined. It can be used for unique reference in its name space and thus allows better usability and a more performant implementation. In this case it is similar to the 'BrowserPath' in OPC UA. More information under https://admin-shell.io/aas/3/0/RC01/Referable/idShort- Specified by:
setIdShortin interfaceReferable- Parameters:
idShort- desired value for the property idShort.
-
getExtensions
public java.util.List<Extension> getExtensions()
Description copied from interface:HasExtensionsAn extension of the element. More information under https://admin-shell.io/aas/3/0/RC01/HasExtensions/extension- Specified by:
getExtensionsin interfaceHasExtensions- Returns:
- Returns the List of Extensions for the property extensions.
-
setExtensions
public void setExtensions(java.util.List<Extension> extensions)
Description copied from interface:HasExtensionsAn extension of the element. More information under https://admin-shell.io/aas/3/0/RC01/HasExtensions/extension- Specified by:
setExtensionsin interfaceHasExtensions- Parameters:
extensions- desired value for the property extensions.
-
-