Class AssetProperties

    • Constructor Detail

      • AssetProperties

        public AssetProperties()
        Default constructor
      • AssetProperties

        public AssetProperties​(AssetProperties template)
        Copy/clone constructor. Note, this is a deep copy
        Parameters:
        template - object to copy
    • Method Detail

      • getName

        public java.lang.String getName()
        Return the name of the resource that this asset represents.
        Returns:
        string resource name
      • setName

        public void setName​(java.lang.String name)
        Set up the name of the resource that this asset represents.
        Parameters:
        name - string resource name
      • getVersionIdentifier

        public java.lang.String getVersionIdentifier()
        Set up the version identifier of the resource.
        Returns:
        string version name
      • setVersionIdentifier

        public void setVersionIdentifier​(java.lang.String versionIdentifier)
        Set up the version identifier of the resource.
        Parameters:
        versionIdentifier - string version name
      • getDisplayName

        @Deprecated
        public java.lang.String getDisplayName()
        Deprecated.
        Returns the stored display name property for the asset. If no display name is available then name is returned.
        Returns:
        String name
      • setDisplayName

        @Deprecated
        public void setDisplayName​(java.lang.String displayName)
        Deprecated.
        Set up the stored display name property for the asset.
        Parameters:
        displayName - String name
      • getDescription

        public java.lang.String getDescription()
        Returns the stored description property for the asset. If no description is provided then null is returned.
        Returns:
        description String text
      • setDescription

        public void setDescription​(java.lang.String description)
        Set up the stored description property associated with the asset.
        Parameters:
        description - String text
      • toString

        public java.lang.String toString()
        Standard toString method.
        Overrides:
        toString in class ReferenceableProperties
        Returns:
        print out of variables in a JSON-style
      • equals

        public boolean equals​(java.lang.Object objectToCompare)
        Compare the values of the supplied object with those stored in the current object.
        Overrides:
        equals in class ReferenceableProperties
        Parameters:
        objectToCompare - supplied object
        Returns:
        boolean result of comparison