Class ServerAssetUseElement
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.devops.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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ServerAssetUseElement()Default constructorServerAssetUseElement(ServerAssetUseElement template)Copy/clone constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object objectToCompare)Return comparison result based on the content of the properties.AssetElementgetAsset()Return the properties of the asset.ElementStubgetCapabilityStub()Return the stub information of the software server capability.ServerAssetUsePropertiesgetServerAssetUse()Return the properties from the server asset use relationship.inthashCode()Return hash code for this objectvoidsetAsset(AssetElement asset)Set up the asset properties.voidsetCapabilityStub(ElementStub capabilityStub)Set up the stub information of the software server capability.voidsetServerAssetUse(ServerAssetUseProperties serverAssetUse)Set up the properties from the server asset use relationship.StringtoString()JSON-style toString
-
-
-
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 String toString()
JSON-style toString
-
equals
public boolean equals(Object objectToCompare)
Return comparison result based on the content of the properties.
-
-