Package io.adminshell.aas.v3.model.impl
Class DefaultAdministrativeInformation
- java.lang.Object
-
- io.adminshell.aas.v3.model.impl.DefaultAdministrativeInformation
-
- All Implemented Interfaces:
AdministrativeInformation,HasDataSpecification
public class DefaultAdministrativeInformation extends java.lang.Object implements AdministrativeInformation
Default implementation of package io.adminshell.aas.v3.model.AdministrativeInformation Every Identifiable may have administrative information. Administrative information includes for example 1) Information about the version of the element 2) Information about who created or who made the last change to the element 3) Information about the languages available in case the element contains text, for translating purposed also themmaster or default language may be definedIn the first version of the AAS metamodel only version information as defined by IEC 61360 is defined. In later versions additional attributes may be added.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDefaultAdministrativeInformation.BuilderThis builder class can be used to construct a DefaultAdministrativeInformation bean.
-
Field Summary
Fields Modifier and Type Field Description protected java.util.List<EmbeddedDataSpecification>embeddedDataSpecificationsprotected java.lang.Stringrevisionprotected java.lang.Stringversion
-
Constructor Summary
Constructors Constructor Description DefaultAdministrativeInformation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)java.util.List<EmbeddedDataSpecification>getEmbeddedDataSpecifications()Link to the included description of the Data Specification.java.lang.StringgetRevision()Revision of the element.java.lang.StringgetVersion()Version of the element.inthashCode()voidsetEmbeddedDataSpecifications(java.util.List<EmbeddedDataSpecification> embeddedDataSpecifications)Link to the included description of the Data Specification.voidsetRevision(java.lang.String revision)Revision of the element.voidsetVersion(java.lang.String version)Version of the element.
-
-
-
Field Detail
-
revision
protected java.lang.String revision
-
version
protected java.lang.String version
-
embeddedDataSpecifications
protected java.util.List<EmbeddedDataSpecification> embeddedDataSpecifications
-
-
Method Detail
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
getVersion
public java.lang.String getVersion()
Description copied from interface:AdministrativeInformationVersion of the element. More information under https://admin-shell.io/aas/3/0/RC01/AdministrativeInformation/version- Specified by:
getVersionin interfaceAdministrativeInformation- Returns:
- Returns the String for the property version.
-
setVersion
public void setVersion(java.lang.String version)
Description copied from interface:AdministrativeInformationVersion of the element. More information under https://admin-shell.io/aas/3/0/RC01/AdministrativeInformation/version- Specified by:
setVersionin interfaceAdministrativeInformation- Parameters:
version- desired value for the property version.
-
getRevision
public java.lang.String getRevision()
Description copied from interface:AdministrativeInformationRevision of the element. Constraint AASd-005: A revision requires a version. This means, if there is no version there is no revision neither. More information under https://admin-shell.io/aas/3/0/RC01/AdministrativeInformation/revision- Specified by:
getRevisionin interfaceAdministrativeInformation- Returns:
- Returns the String for the property revision.
-
setRevision
public void setRevision(java.lang.String revision)
Description copied from interface:AdministrativeInformationRevision of the element. Constraint AASd-005: A revision requires a version. This means, if there is no version there is no revision neither. More information under https://admin-shell.io/aas/3/0/RC01/AdministrativeInformation/revision- Specified by:
setRevisionin interfaceAdministrativeInformation- Parameters:
revision- desired value for the property revision.
-
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.
-
-