Class ServerAssetUseElement
java.lang.Object
org.odpi.openmetadata.accessservices.itinfrastructure.metadataelements.ServerAssetUseElement
ServerAssetUseElement contains the properties and header for a ServerAssetUse relationship retrieved from the repository.
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorServerAssetUseElement(ServerAssetUseElement template) Copy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn comparison result based on the content of the properties.getAsset()Return the properties of the asset.org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementStubReturn the stub information of the software server capability.Return the properties from the server asset use relationship.inthashCode()Return hash code for this objectvoidsetAsset(AssetElement asset) Set up the asset properties.voidsetCapabilityStub(org.odpi.openmetadata.frameworks.connectors.properties.beans.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.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
public org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementStub getCapabilityStub()Return the stub information of the software server capability.- Returns:
- header and unique properties
-
setCapabilityStub
public void setCapabilityStub(org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementStub capabilityStub) 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
-