Package com.oracle.bmc.datasafe.model
Class SubsettingSchemaRelationSummary
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.datasafe.model.SubsettingSchemaRelationSummary
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20181201") public final class SubsettingSchemaRelationSummary extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelSummary of a relationship between tables in the subsetting for a subsetting policy.
Note: Objects should always be created or deserialized using theSubsettingSchemaRelationSummary.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 theSubsettingSchemaRelationSummary.Builder, which maintain a set of all explicitly set fields calledSubsettingSchemaRelationSummary.Builder.__explicitlySet__. ThehashCode()andequals(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).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSubsettingSchemaRelationSummary.Builderstatic classSubsettingSchemaRelationSummary.RelationTypeThe type of referential relationship the column has with its parent.
-
Constructor Summary
Constructors Constructor Description SubsettingSchemaRelationSummary(String key, String parentObjectKey, String parentSchemaName, String parentObjectName, List<String> parentColumns, String childObjectKey, String childSchemaName, String childObjectName, List<String> childColumns, SubsettingSchemaRelationSummary.RelationType relationType, Date timeCreated, Date timeUpdated)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SubsettingSchemaRelationSummary.Builderbuilder()Create a new builder.booleanequals(Object o)List<String>getChildColumns()Unique identifiers identifying the child columns in the relation.StringgetChildObjectKey()The key that identifies the child subsetting table in this relation.StringgetChildObjectName()The name of the child subsetting tableStringgetChildSchemaName()The database schema that contains the child subsetting tableStringgetKey()The unique key that identifies a relation between subsetting tables.List<String>getParentColumns()Unique identifiers identifying the parents columns in the relation.StringgetParentObjectKey()The key that identifies the parent subsetting table in this relation.StringgetParentObjectName()The name of the parent subsetting tableStringgetParentSchemaName()The database schema that contains the parent subsetting tableSubsettingSchemaRelationSummary.RelationTypegetRelationType()The type of referential relationship the column has with its parent.DategetTimeCreated()The date and time the subsetting relation was created, in the format defined by RFC3339.DategetTimeUpdated()The date and time the subsetting relation was last updated, in the format defined by RFC3339.inthashCode()SubsettingSchemaRelationSummary.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
-
-
-
Constructor Detail
-
SubsettingSchemaRelationSummary
@Deprecated @ConstructorProperties({"key","parentObjectKey","parentSchemaName","parentObjectName","parentColumns","childObjectKey","childSchemaName","childObjectName","childColumns","relationType","timeCreated","timeUpdated"}) public SubsettingSchemaRelationSummary(String key, String parentObjectKey, String parentSchemaName, String parentObjectName, List<String> parentColumns, String childObjectKey, String childSchemaName, String childObjectName, List<String> childColumns, SubsettingSchemaRelationSummary.RelationType relationType, Date timeCreated, Date timeUpdated)
Deprecated.
-
-
Method Detail
-
builder
public static SubsettingSchemaRelationSummary.Builder builder()
Create a new builder.
-
toBuilder
public SubsettingSchemaRelationSummary.Builder toBuilder()
-
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:
toStringin classcom.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:
equalsin classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCodein classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-