Class ServerAssetUseProperties

  • All Implemented Interfaces:
    java.io.Serializable

    public class ServerAssetUseProperties
    extends ConfigurationItemRelationshipProperties
    ServerAssetUseProperties describes the properties for the ServerAssetUse relationship between a software server capability and an asset.
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object objectToCompare)
      Equals method that returns true if containing properties are the same.
      java.lang.String getDescription()
      Return the description of the relationship between the software server capability and the asset.
      int getMaximumInstances()
      Return the maximum number of running asset instances controlled by the software server capability.
      boolean getMaximumInstancesSet()
      Return whether the maximum instances value is set up or just default.
      int getMinimumInstances()
      Return the minimum number of running asset instances controlled by the software server capability.
      boolean getMinimumInstancesSet()
      Return whether the minimum instances value is set up or just default.
      ServerAssetUseType getUseType()
      Return the types of interactions that the software server capability may have with the asset.
      int hashCode()
      Hash code for this object
      void setDescription​(java.lang.String description)
      Set up the description of the relationship between the software server capability and the asset.
      void setMaximumInstances​(int maximumInstances)
      Set up the maximum number of running asset instances controlled by the software server capability.
      void setMaximumInstancesSet​(boolean maximumInstancesSet)
      Set up whether the maximum instances value is set up or just default.
      void setMinimumInstances​(int minimumInstances)
      Set up the minimum number of running asset instances controlled by the software server capability.
      void setMinimumInstancesSet​(boolean minimumInstancesSet)
      Set up whether the minimum instances value is set up or just default.
      void setUseType​(ServerAssetUseType useType)
      Set up the types of interactions that the software server capability may have with the asset.
      java.lang.String toString()
      JSON-style toString.
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • ServerAssetUseProperties

        public ServerAssetUseProperties()
        Default constructor
      • ServerAssetUseProperties

        public ServerAssetUseProperties​(ServerAssetUseProperties template)
        Copy/clone constructor
        Parameters:
        template - object to copy
    • Method Detail

      • getUseType

        public ServerAssetUseType getUseType()
        Return the types of interactions that the software server capability may have with the asset.
        Returns:
        ServerAssetUseType enum
      • setUseType

        public void setUseType​(ServerAssetUseType useType)
        Set up the types of interactions that the software server capability may have with the asset.
        Parameters:
        useType - ServerAssetUseType enum
      • getDescription

        public java.lang.String getDescription()
        Return the description of the relationship between the software server capability and the asset.
        Returns:
        text
      • setDescription

        public void setDescription​(java.lang.String description)
        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
      • equals

        public boolean equals​(java.lang.Object objectToCompare)
        Equals method that returns true if containing properties are the same.
        Overrides:
        equals in class ConfigurationItemRelationshipProperties
        Parameters:
        objectToCompare - object to compare
        Returns:
        boolean result of comparison