Class ITInfrastructureProperties

Direct Known Subclasses:
HostProperties, SoftwareServerPlatformProperties, SoftwareServerProperties

public class ITInfrastructureProperties extends AssetProperties
ITInfrastructureProperties is a java bean used to create software servers, hosts and platforms.
  • Constructor Details

    • ITInfrastructureProperties

      public ITInfrastructureProperties()
      Default constructor
    • ITInfrastructureProperties

      public ITInfrastructureProperties(ITInfrastructureProperties template)
      Copy/clone constructor. Note, this is a deep copy
      Parameters:
      template - object to copy
    • ITInfrastructureProperties

      public ITInfrastructureProperties(AssetProperties template)
      Copy/clone constructor. Note, this is a deep copy
      Parameters:
      template - object to copy
  • Method Details

    • cloneToAsset

      public AssetProperties cloneToAsset(String subTypeName)
      Convert this object into an AssetProperties object. This involves packing the properties introduced at this level into the extended properties.
      Overrides:
      cloneToAsset in class AssetProperties
      Parameters:
      subTypeName - subtype name
      Returns:
      asset properties
    • getDeployedImplementationType

      public String getDeployedImplementationType()
      Return the type description for the technology's type.
      Returns:
      type description string
    • setDeployedImplementationType

      public void setDeployedImplementationType(String platformType)
      Set up the type description for the technology's type.
      Parameters:
      platformType - type description string
    • toString

      public String toString()
      Standard toString method.
      Overrides:
      toString in class AssetProperties
      Returns:
      print out of variables in a JSON-style
    • equals

      public boolean equals(Object objectToCompare)
      Compare the values of the supplied object with those stored in the current object.
      Overrides:
      equals in class AssetProperties
      Parameters:
      objectToCompare - supplied object
      Returns:
      boolean result of comparison
    • hashCode

      public int hashCode()
      Return hash code based on properties.
      Overrides:
      hashCode in class AssetProperties
      Returns:
      int