Class DefaultAssetInformation

  • All Implemented Interfaces:
    AssetInformation

    public class DefaultAssetInformation
    extends java.lang.Object
    implements AssetInformation
    Default implementation of package io.adminshell.aas.v3.model.AssetInformation The asset may either represent an asset type or an asset instance. The asset has a globally unique identifier plus - if needed - additional domain specific (proprietary) identifiers. However, to support the corner case of very first phase of lifecycle where a stabilised/constant global asset identifier does not already exist, the corresponding attribute 'globalAssetId' is optional.
    • Field Detail

      • billOfMaterials

        protected java.util.List<Reference> billOfMaterials
      • defaultThumbnail

        protected File defaultThumbnail
      • globalAssetId

        protected Reference globalAssetId
    • Constructor Detail

      • DefaultAssetInformation

        public DefaultAssetInformation()
    • 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
      • getAssetKind

        public AssetKind getAssetKind()
        Description copied from interface: AssetInformation
        Denotes whether the Asset of kind 'Type' or 'Instance'. More information under https://admin-shell.io/aas/3/0/RC01/AssetInformation/assetKind
        Specified by:
        getAssetKind in interface AssetInformation
        Returns:
        Returns the AssetKind for the property assetKind.
      • setAssetKind

        public void setAssetKind​(AssetKind assetKind)
        Description copied from interface: AssetInformation
        Denotes whether the Asset of kind 'Type' or 'Instance'. More information under https://admin-shell.io/aas/3/0/RC01/AssetInformation/assetKind
        Specified by:
        setAssetKind in interface AssetInformation
        Parameters:
        assetKind - desired value for the property assetKind.
      • getGlobalAssetId

        public Reference getGlobalAssetId()
        Description copied from interface: AssetInformation
        Reference to either an Asset object or a global reference to the asset the AAS is representing. This attribute is required as soon as the AAS is exchanged via partners in the life cycle of the asset. In a first phase of the life cycle the asset might not yet have a global id but already an internal identifier. The internal identifier would be modelled via 'externalAssetId'. Constraint AASd-023: AssetInformation/globalAssetId either is a reference to an Asset object or a global reference. More information under https://admin-shell.io/aas/3/0/RC01/AssetInformation/globalAssetId
        Specified by:
        getGlobalAssetId in interface AssetInformation
        Returns:
        Returns the Reference for the property globalAssetId.
      • setGlobalAssetId

        public void setGlobalAssetId​(Reference globalAssetId)
        Description copied from interface: AssetInformation
        Reference to either an Asset object or a global reference to the asset the AAS is representing. This attribute is required as soon as the AAS is exchanged via partners in the life cycle of the asset. In a first phase of the life cycle the asset might not yet have a global id but already an internal identifier. The internal identifier would be modelled via 'externalAssetId'. Constraint AASd-023: AssetInformation/globalAssetId either is a reference to an Asset object or a global reference. More information under https://admin-shell.io/aas/3/0/RC01/AssetInformation/globalAssetId
        Specified by:
        setGlobalAssetId in interface AssetInformation
        Parameters:
        globalAssetId - desired value for the property globalAssetId.
      • getSpecificAssetIds

        public java.util.List<IdentifierKeyValuePair> getSpecificAssetIds()
        Description copied from interface: AssetInformation
        Additional domain-specific, typically proprietary Identifier for the asset like e.g. serial number etc. More information under https://admin-shell.io/aas/3/0/RC01/AssetInformation/specificAssetId
        Specified by:
        getSpecificAssetIds in interface AssetInformation
        Returns:
        Returns the List of IdentifierKeyValuePairs for the property specificAssetIds.
      • setSpecificAssetIds

        public void setSpecificAssetIds​(java.util.List<IdentifierKeyValuePair> specificAssetIds)
        Description copied from interface: AssetInformation
        Additional domain-specific, typically proprietary Identifier for the asset like e.g. serial number etc. More information under https://admin-shell.io/aas/3/0/RC01/AssetInformation/specificAssetId
        Specified by:
        setSpecificAssetIds in interface AssetInformation
        Parameters:
        specificAssetIds - desired value for the property specificAssetIds.
      • getBillOfMaterials

        public java.util.List<Reference> getBillOfMaterials()
        Description copied from interface: AssetInformation
        A reference to a Submodel that defines the bill of material of the asset represented by the AAS. This submodel contains a set of entities describing the material used to compose the composite I4.0 Component. More information under https://admin-shell.io/aas/3/0/RC01/AssetInformation/billOfMaterial
        Specified by:
        getBillOfMaterials in interface AssetInformation
        Returns:
        Returns the List of References for the property billOfMaterials.
      • setBillOfMaterials

        public void setBillOfMaterials​(java.util.List<Reference> billOfMaterials)
        Description copied from interface: AssetInformation
        A reference to a Submodel that defines the bill of material of the asset represented by the AAS. This submodel contains a set of entities describing the material used to compose the composite I4.0 Component. More information under https://admin-shell.io/aas/3/0/RC01/AssetInformation/billOfMaterial
        Specified by:
        setBillOfMaterials in interface AssetInformation
        Parameters:
        billOfMaterials - desired value for the property billOfMaterials.
      • getDefaultThumbnail

        public File getDefaultThumbnail()
        Description copied from interface: AssetInformation
        Thumbnail of the asset represented by the asset administration shell. More information under https://admin-shell.io/aas/3/0/RC01/AssetInformation/defaultThumbnail
        Specified by:
        getDefaultThumbnail in interface AssetInformation
        Returns:
        Returns the File for the property defaultThumbnail.
      • setDefaultThumbnail

        public void setDefaultThumbnail​(File defaultThumbnail)
        Description copied from interface: AssetInformation
        Thumbnail of the asset represented by the asset administration shell. More information under https://admin-shell.io/aas/3/0/RC01/AssetInformation/defaultThumbnail
        Specified by:
        setDefaultThumbnail in interface AssetInformation
        Parameters:
        defaultThumbnail - desired value for the property defaultThumbnail.