Class SubsettingSchemaRelationSummary


  • @Generated(value="OracleSDKGenerator",
               comments="API Version: 20181201")
    public final class SubsettingSchemaRelationSummary
    extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
    Summary of a relationship between tables in the subsetting for a subsetting policy.
    Note: Objects should always be created or deserialized using the SubsettingSchemaRelationSummary.Builder. This model distinguishes fields that are null because they are unset from fields that are explicitly set to null. This is done in the setter methods of the SubsettingSchemaRelationSummary.Builder, which maintain a set of all explicitly set fields called SubsettingSchemaRelationSummary.Builder.__explicitlySet__. The hashCode() and equals(Object) methods are implemented to take the explicitly set fields into account. The constructor, on the other hand, does not take the explicitly set fields into account (since the constructor cannot distinguish explicit null from unset null).
    • Method Detail

      • getKey

        public String getKey()
        The unique key that identifies a relation between subsetting tables.

        The key is numeric and unique within a subsetting policy.

        Returns:
        the value
      • getParentObjectKey

        public String getParentObjectKey()
        The key that identifies the parent subsetting table in this relation.
        Returns:
        the value
      • getParentSchemaName

        public String getParentSchemaName()
        The database schema that contains the parent subsetting table
        Returns:
        the value
      • getParentObjectName

        public String getParentObjectName()
        The name of the parent subsetting table
        Returns:
        the value
      • getParentColumns

        public List<String> getParentColumns()
        Unique identifiers identifying the parents columns in the relation.
        Returns:
        the value
      • getChildObjectKey

        public String getChildObjectKey()
        The key that identifies the child subsetting table in this relation.
        Returns:
        the value
      • getChildSchemaName

        public String getChildSchemaName()
        The database schema that contains the child subsetting table
        Returns:
        the value
      • getChildObjectName

        public String getChildObjectName()
        The name of the child subsetting table
        Returns:
        the value
      • getChildColumns

        public List<String> getChildColumns()
        Unique identifiers identifying the child columns in the relation.
        Returns:
        the value
      • getRelationType

        public SubsettingSchemaRelationSummary.RelationType getRelationType()
        The type of referential relationship the column has with its parent.

        NONE indicates that the sensitive column does not have a parent. DB_DEFINED indicates that the relationship is defined in the database dictionary. APP_DEFINED indicates that the relationship is defined at the application level and not in the database dictionary.

        Returns:
        the value
      • getTimeCreated

        public Date getTimeCreated()
        The date and time the subsetting relation was created, in the format defined by RFC3339.
        Returns:
        the value
      • getTimeUpdated

        public Date getTimeUpdated()
        The date and time the subsetting relation was last updated, in the format defined by RFC3339.
        Returns:
        the value
      • toString

        public String toString()
        Overrides:
        toString in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
      • toString

        public String toString​(boolean includeByteArrayContents)
        Return a string representation of the object.
        Parameters:
        includeByteArrayContents - true to include the full contents of byte arrays
        Returns:
        string representation
      • equals

        public boolean equals​(Object o)
        Overrides:
        equals in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel