Class 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.
    • Field Detail

      • revision

        protected java.lang.String revision
      • version

        protected java.lang.String version
    • Constructor Detail

      • DefaultAdministrativeInformation

        public DefaultAdministrativeInformation()
    • Method Detail

      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • getVersion

        public java.lang.String getVersion()
        Description copied from interface: AdministrativeInformation
        Version of the element. More information under https://admin-shell.io/aas/3/0/RC01/AdministrativeInformation/version
        Specified by:
        getVersion in interface AdministrativeInformation
        Returns:
        Returns the String for the property version.
      • setVersion

        public void setVersion​(java.lang.String version)
        Description copied from interface: AdministrativeInformation
        Version of the element. More information under https://admin-shell.io/aas/3/0/RC01/AdministrativeInformation/version
        Specified by:
        setVersion in interface AdministrativeInformation
        Parameters:
        version - desired value for the property version.
      • getRevision

        public java.lang.String getRevision()
        Description copied from interface: AdministrativeInformation
        Revision 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:
        getRevision in interface AdministrativeInformation
        Returns:
        Returns the String for the property revision.
      • setRevision

        public void setRevision​(java.lang.String revision)
        Description copied from interface: AdministrativeInformation
        Revision 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:
        setRevision in interface AdministrativeInformation
        Parameters:
        revision - desired value for the property revision.
      • getEmbeddedDataSpecifications

        public java.util.List<EmbeddedDataSpecification> getEmbeddedDataSpecifications()
        Description copied from interface: HasDataSpecification
        Link to the included description of the Data Specification. More information under https://admin-shell.io/aas/3/0/RC01/HasDataSpecification/embeddedDataSpecification
        Specified by:
        getEmbeddedDataSpecifications in interface HasDataSpecification
        Returns:
        Returns the List of EmbeddedDataSpecifications for the property embeddedDataSpecifications.
      • setEmbeddedDataSpecifications

        public void setEmbeddedDataSpecifications​(java.util.List<EmbeddedDataSpecification> embeddedDataSpecifications)
        Description copied from interface: HasDataSpecification
        Link to the included description of the Data Specification. More information under https://admin-shell.io/aas/3/0/RC01/HasDataSpecification/embeddedDataSpecification
        Specified by:
        setEmbeddedDataSpecifications in interface HasDataSpecification
        Parameters:
        embeddedDataSpecifications - desired value for the property embeddedDataSpecifications.