Class ServerAssetUseProperties
java.lang.Object
org.odpi.openmetadata.accessservices.assetmanager.properties.RelationshipProperties
org.odpi.openmetadata.accessservices.assetmanager.properties.ServerAssetUseProperties
- All Implemented Interfaces:
Serializable
ServerAssetUseProperties describes the properties for the ServerAssetUse relationship between a software
server capability and an asset.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorCopy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionbooleanEquals method that returns true if containing properties are the same.Return the description of the relationship between the software server capability and the asset.intReturn the maximum number of running asset instances controlled by the software server capability.booleanReturn whether the maximum instances value is set up or just default.intReturn the minimum number of running asset instances controlled by the software server capability.booleanReturn whether the minimum instances value is set up or just default.Return the types of interactions that the software server capability may have with the asset.inthashCode()Hash code for this objectvoidsetDescription(String description) Set up the description of the relationship between the software server capability and the asset.voidsetMaximumInstances(int maximumInstances) Set up the maximum number of running asset instances controlled by the software server capability.voidsetMaximumInstancesSet(boolean maximumInstancesSet) Set up whether the maximum instances value is set up or just default.voidsetMinimumInstances(int minimumInstances) Set up the minimum number of running asset instances controlled by the software server capability.voidsetMinimumInstancesSet(boolean minimumInstancesSet) Set up whether the minimum instances value is set up or just default.voidsetUseType(ServerAssetUseType useType) Set up the types of interactions that the software server capability may have with the asset.toString()JSON-style toString.Methods inherited from class org.odpi.openmetadata.accessservices.assetmanager.properties.RelationshipProperties
getEffectiveFrom, getEffectiveTo, getExtendedProperties, setEffectiveFrom, setEffectiveTo, setExtendedProperties
-
Constructor Details
-
ServerAssetUseProperties
public ServerAssetUseProperties()Default constructor -
ServerAssetUseProperties
Copy/clone constructor- Parameters:
template- object to copy
-
-
Method Details
-
getUseType
Return the types of interactions that the software server capability may have with the asset.- Returns:
- ServerAssetUseType enum
-
setUseType
Set up the types of interactions that the software server capability may have with the asset.- Parameters:
useType- ServerAssetUseType enum
-
getDescription
Return the description of the relationship between the software server capability and the asset.- Returns:
- text
-
setDescription
Set up the description of the relationship between the software server capability and the asset.- Parameters:
description- text
-
getMinimumInstancesSet
public boolean getMinimumInstancesSet()Return whether the minimum instances value is set up or just default.- Returns:
- flag
-
setMinimumInstancesSet
public void setMinimumInstancesSet(boolean minimumInstancesSet) Set up whether the minimum instances value is set up or just default.- Parameters:
minimumInstancesSet- flag
-
getMinimumInstances
public int getMinimumInstances()Return the minimum number of running asset instances controlled by the software server capability.- Returns:
- integer
-
setMinimumInstances
public void setMinimumInstances(int minimumInstances) Set up the minimum number of running asset instances controlled by the software server capability.- Parameters:
minimumInstances- integer
-
getMaximumInstancesSet
public boolean getMaximumInstancesSet()Return whether the maximum instances value is set up or just default.- Returns:
- flag
-
setMaximumInstancesSet
public void setMaximumInstancesSet(boolean maximumInstancesSet) Set up whether the maximum instances value is set up or just default.- Parameters:
maximumInstancesSet- flag
-
getMaximumInstances
public int getMaximumInstances()Return the maximum number of running asset instances controlled by the software server capability.- Returns:
- integer
-
setMaximumInstances
public void setMaximumInstances(int maximumInstances) Set up the maximum number of running asset instances controlled by the software server capability.- Parameters:
maximumInstances- integer
-
toString
JSON-style toString.- Overrides:
toStringin classRelationshipProperties- Returns:
- list of properties and their values.
-
equals
Equals method that returns true if containing properties are the same.- Overrides:
equalsin classRelationshipProperties- Parameters:
objectToCompare- object to compare- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Hash code for this object- Overrides:
hashCodein classRelationshipProperties- Returns:
- int
-