Class NewGovernanceServiceRequestBody

java.lang.Object
org.odpi.openmetadata.frameworkservices.gaf.rest.NewGovernanceServiceRequestBody
Direct Known Subclasses:
UpdateGovernanceServiceRequestBody

public class NewGovernanceServiceRequestBody extends Object
NewGovernanceServiceRequestBody provides a structure for passing the properties of a new governance service as a request body over a REST API.
  • Constructor Details

    • NewGovernanceServiceRequestBody

      public NewGovernanceServiceRequestBody()
      Default constructor
    • NewGovernanceServiceRequestBody

      public NewGovernanceServiceRequestBody(NewGovernanceServiceRequestBody template)
      Copy/clone constructor
      Parameters:
      template - object to copy
  • Method Details

    • setQualifiedName

      public void setQualifiedName(String qualifiedName)
      Set up the fully qualified name.
      Parameters:
      qualifiedName - String name
    • getQualifiedName

      public String getQualifiedName()
      Returns the stored qualified name property for the metadata entity. If no qualified name is available then the empty string is returned.
      Returns:
      qualifiedName
    • getName

      public String getName()
      Return the name of the resource that this asset represents.
      Returns:
      string resource name
    • setName

      public void setName(String name)
      Set up the name of the resource that this asset represents.
      Parameters:
      name - string resource 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
    • getDescription

      public String getDescription()
      Returns the stored description property for the asset. If no description is provided then null is returned.
      Returns:
      description String text
    • setDescription

      public void setDescription(String description)
      Set up the stored description property associated with the asset.
      Parameters:
      description - String text
    • 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
    • getConnection

      public Connection getConnection()
      Return the connection used to create a instance of this governance service.
      Returns:
      Connection object
    • setConnection

      public void setConnection(Connection connection)
      Set up the connection used to create a instance of this governance service.
      Parameters:
      connection - connection object
    • toString

      public String toString()
      JSON-style toString.
      Overrides:
      toString in class Object
      Returns:
      list of properties and their values.
    • equals

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

      public int hashCode()
      Return hash code for this object
      Overrides:
      hashCode in class Object
      Returns:
      int hash code