Class ServerAssetUseElement
java.lang.Object
org.odpi.openmetadata.frameworks.openmetadata.metadataelements.ServerAssetUseElement
ServerAssetUseElement contains the properties and header for a ServerAssetUse relationship retrieved from the repository.
-
Constructor Summary
ConstructorDescriptionDefault constructorServerAssetUseElement
(ServerAssetUseElement template) Copy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionboolean
Return comparison result based on the content of the properties.getAsset()
Return the properties of the asset.Return the stub information of the software server capability.Return the properties from the server asset use relationship.int
hashCode()
Return hash code for this objectvoid
setAsset
(AssetElement asset) Set up the asset properties.void
setCapabilityStub
(ElementStub capabilityStub) Set up the stub information of the software server capability.void
setServerAssetUse
(ServerAssetUseProperties serverAssetUse) Set up the properties from the server asset use relationship.toString()
JSON-style toString
-
Constructor Details
-
ServerAssetUseElement
public ServerAssetUseElement()Default constructor -
ServerAssetUseElement
Copy/clone constructor- Parameters:
template
- object to copy
-
-
Method Details
-
getServerAssetUse
Return the properties from the server asset use relationship.- Returns:
- server asset use
-
setServerAssetUse
Set up the properties from the server asset use relationship.- Parameters:
serverAssetUse
- server asset use
-
getAsset
Return the properties of the asset.- Returns:
- properties
-
setAsset
Set up the asset properties.- Parameters:
asset
- properties
-
getCapabilityStub
Return the stub information of the software server capability.- Returns:
- header and unique properties
-
setCapabilityStub
Set up the stub information of the software server capability.- Parameters:
capabilityStub
- header and unique properties
-
toString
JSON-style toString -
equals
Return comparison result based on the content of the properties. -
hashCode
public int hashCode()Return hash code for this object
-