Class ServerAssetUseElement

  • All Implemented Interfaces:
    java.io.Serializable

    public class ServerAssetUseElement
    extends java.lang.Object
    implements java.io.Serializable
    ServerAssetUseElement contains the properties and header for a ServerAssetUse relationship retrieved from the repository.
    See Also:
    Serialized Form
    • Constructor Detail

      • ServerAssetUseElement

        public ServerAssetUseElement()
        Default constructor
      • ServerAssetUseElement

        public ServerAssetUseElement​(ServerAssetUseElement template)
        Copy/clone constructor
        Parameters:
        template - object to copy
    • Method Detail

      • getServerAssetUse

        public ServerAssetUseProperties getServerAssetUse()
        Return the properties from the server asset use relationship.
        Returns:
        server asset use
      • setServerAssetUse

        public void setServerAssetUse​(ServerAssetUseProperties serverAssetUse)
        Set up the properties from the server asset use relationship.
        Parameters:
        serverAssetUse - server asset use
      • getAsset

        public AssetElement getAsset()
        Return the properties of the asset.
        Returns:
        properties
      • setAsset

        public void setAsset​(AssetElement asset)
        Set up the asset properties.
        Parameters:
        asset - properties
      • getCapabilityStub

        public ElementStub getCapabilityStub()
        Return the stub information of the software server capability.
        Returns:
        header and unique properties
      • setCapabilityStub

        public void setCapabilityStub​(ElementStub capabilityStub)
        Set up the stub information of the software server capability.
        Parameters:
        capabilityStub - header and unique properties
      • toString

        public java.lang.String toString()
        JSON-style toString
        Overrides:
        toString in class java.lang.Object
        Returns:
        return string containing the property names and values
      • equals

        public boolean equals​(java.lang.Object objectToCompare)
        Return comparison result based on the content of the properties.
        Overrides:
        equals in class java.lang.Object
        Parameters:
        objectToCompare - test object
        Returns:
        result of comparison
      • hashCode

        public int hashCode()
        Return hash code for this object
        Overrides:
        hashCode in class java.lang.Object
        Returns:
        int hash code