All Implemented Interfaces:
Serializable

public class AssetProperties extends SupplementaryProperties
AssetProperties is a java bean used to describe assets managed by the governance program.
See Also:
  • Constructor Details

    • AssetProperties

      public AssetProperties()
      Default constructor
    • AssetProperties

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

    • getResourceName

      public String getResourceName()
      Returns the name of the resource as known to the technology that supports it. If no technical name is available then null is returned.
      Returns:
      String name
    • setResourceName

      public void setResourceName(String resourceName)
      Set up name of the resource as known to the technology that supports it.
      Parameters:
      resourceName - String name
    • getVersionIdentifier

      public String getVersionIdentifier()
      Set up the version identifier of the resource.
      Returns:
      string version name
    • setVersionIdentifier

      public void setVersionIdentifier(String versionIdentifier)
      Set up the version identifier of the resource.
      Parameters:
      versionIdentifier - string version name
    • getResourceDescription

      public String getResourceDescription()
      Returns the stored technical description property from the resource. If no description is provided then null is returned.
      Returns:
      description String text
    • setResourceDescription

      public void setResourceDescription(String resourceDescription)
      Set up the stored technical description property associated with the resource.
      Parameters:
      resourceDescription - String text
    • toString

      public String toString()
      Standard toString method.
      Overrides:
      toString in class SupplementaryProperties
      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 SupplementaryProperties
      Parameters:
      objectToCompare - supplied object
      Returns:
      boolean result of comparison
    • hashCode

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