Direct Known Subclasses:
DataAssetProperties, InfrastructureProperties, ProcessProperties

public class AssetProperties extends ReferenceableProperties
AssetProperties describes an asset.
  • 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()
      Return the full name of the resource as it is known in its owning technology.
      Returns:
      string
    • setResourceName

      public void setResourceName(String resourceName)
      Set up the full name of the resource as it is known in its owning technology.
      Parameters:
      resourceName - string
    • getNamespace

      public String getNamespace()
      Return the name of the namespace that this type belongs to.
      Returns:
      string name
    • setNamespace

      public void setNamespace(String namespace)
      Set up the name of the namespace that this type belongs to.
      Parameters:
      namespace - string name
    • getDeployedImplementationType

      public String getDeployedImplementationType()
      Retrieve the name of the technology used for this data asset.
      Returns:
      string name
    • setDeployedImplementationType

      public void setDeployedImplementationType(String deployedImplementationType)
      Set up the name of the technology used for this data asset.
      Parameters:
      deployedImplementationType - string name
    • getSource

      public String getSource()
      Return the source (such as author, vendor or operator) of the asset.
      Returns:
      string name
    • setSource

      public void setSource(String source)
      Set up the source (such as author, vendor or operator) of the asset.
      Parameters:
      source - string name
    • getUserDefinedStatus

      public String getUserDefinedStatus()
      Return the status used when element status is OTHER.
      Returns:
      string
    • setUserDefinedStatus

      public void setUserDefinedStatus(String userDefinedStatus)
      Set up the status used when element status is OTHER.
      Parameters:
      userDefinedStatus - string
    • toString

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

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