java.lang.Object
org.odpi.openmetadata.accessservices.itinfrastructure.metadataelements.ServerAssetUseElement
All Implemented Interfaces:
Serializable

public class ServerAssetUseElement extends Object implements Serializable
ServerAssetUseElement contains the properties and header for a ServerAssetUse relationship retrieved from the repository.
See Also:
  • Constructor Details

    • ServerAssetUseElement

      public ServerAssetUseElement()
      Default constructor
    • ServerAssetUseElement

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

    • 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 String toString()
      JSON-style toString
      Overrides:
      toString in class Object
      Returns:
      return string containing the property names and values
    • equals

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

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