@Generated(value="OracleSDKGenerator", comments="API Version: 20181201") public final class ReferentialRelationSummary extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
A referential relation is a resource corresponding to a database columns. It’s a subresource of
sensitive data model resource and is always associated with a sensitive data model.
Note: Objects should always be created or deserialized using the ReferentialRelationSummary.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 ReferentialRelationSummary.Builder
, which maintain a
set of all explicitly set fields called ReferentialRelationSummary.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
).
Modifier and Type | Class and Description |
---|---|
static class |
ReferentialRelationSummary.Builder |
static class |
ReferentialRelationSummary.RelationType
The type of referential relationship the sensitive column has with its parent.
|
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
ReferentialRelationSummary(String key,
ReferentialRelationLifecycleState lifecycleState,
String sensitiveDataModelId,
ReferentialRelationSummary.RelationType relationType,
ColumnsInfo parent,
ColumnsInfo child,
Boolean isSensitive)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static ReferentialRelationSummary.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
ColumnsInfo |
getChild() |
Boolean |
getIsSensitive()
Determines if the columns present in the referential relation is present in the sensitive
data model
|
String |
getKey()
The unique key that identifies the referential relation.
|
ReferentialRelationLifecycleState |
getLifecycleState()
The current state of the referential relation.
|
ColumnsInfo |
getParent() |
ReferentialRelationSummary.RelationType |
getRelationType()
The type of referential relationship the sensitive column has with its parent.
|
String |
getSensitiveDataModelId()
The OCID of the sensitive data model that contains the sensitive column.
|
int |
hashCode() |
ReferentialRelationSummary.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"key","lifecycleState","sensitiveDataModelId","relationType","parent","child","isSensitive"}) public ReferentialRelationSummary(String key, ReferentialRelationLifecycleState lifecycleState, String sensitiveDataModelId, ReferentialRelationSummary.RelationType relationType, ColumnsInfo parent, ColumnsInfo child, Boolean isSensitive)
public static ReferentialRelationSummary.Builder builder()
Create a new builder.
public ReferentialRelationSummary.Builder toBuilder()
public String getKey()
The unique key that identifies the referential relation. It’s numeric and unique within a sensitive data model.
public ReferentialRelationLifecycleState getLifecycleState()
The current state of the referential relation.
public String getSensitiveDataModelId()
The OCID of the sensitive data model that contains the sensitive column.
public ReferentialRelationSummary.RelationType getRelationType()
The type of referential relationship the sensitive 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.
public ColumnsInfo getParent()
public ColumnsInfo getChild()
public Boolean getIsSensitive()
Determines if the columns present in the referential relation is present in the sensitive data model
public String toString()
toString
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public int hashCode()
hashCode
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Copyright © 2016–2025. All rights reserved.