Class OpenMetadataSecretsCollection

java.lang.Object
org.odpi.openmetadata.frameworks.connectors.properties.users.SecretsCollection
org.odpi.openmetadata.metadatasecurity.properties.OpenMetadataSecretsCollection

public class OpenMetadataSecretsCollection extends SecretsCollection
OpenMetadataSecretsCollection extends SecretsCollection with name property.
  • Constructor Details

    • OpenMetadataSecretsCollection

      public OpenMetadataSecretsCollection()
      Default constructor
    • OpenMetadataSecretsCollection

      public OpenMetadataSecretsCollection(String collectionName, SecretsCollection secretsCollection)
      Copy constructor
      Parameters:
      collectionName - name of the collection
      secretsCollection - super class properties
  • Method Details

    • getCollectionName

      public String getCollectionName()
      Return the name that identifies the collection.
      Returns:
      string identifier
    • setCollectionName

      public void setCollectionName(String collectionName)
      Set up the name that identifies the collection.
      Parameters:
      collectionName - string identifier
    • toString

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

      public int hashCode()
      Hash of properties
      Overrides:
      hashCode in class SecretsCollection
      Returns:
      int