@Generated(value="OracleSDKGenerator", comments="API Version: 20190325") public final class RuleSummary extends Object
A list of rule resources. One or more rules can be defined for a data entity. Each rule can be defined on one or more attributes of the data entity.
RuleSummary.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 RuleSummary.Builder
, which maintain a set of all explicitly set fields called
__explicitlySet__
. The hashCode()
and equals(Object)
methods are implemented to take
__explicitlySet__
into account. The constructor, on the other hand, does not set __explicitlySet__
(since the constructor cannot distinguish explicit null
from unset null
).Modifier and Type | Class and Description |
---|---|
static class |
RuleSummary.Builder |
Constructor and Description |
---|
RuleSummary(String key,
String displayName,
String description,
RuleType ruleType,
String externalKey,
List<RuleAttribute> attributes,
String referencedFolderKey,
String referencedFolderName,
String referencedEntityKey,
String referencedEntityName,
String referencedRuleKey,
String referencedRuleName,
List<RuleAttribute> referencedAttributes,
RuleOriginType originType,
String uri,
Date timeCreated,
LifecycleState lifecycleState)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static RuleSummary.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
Set<String> |
get__explicitlySet__() |
List<RuleAttribute> |
getAttributes()
Attributes associated with a rule.
|
String |
getDescription()
Detailed description of a rule.
|
String |
getDisplayName()
A user-friendly display name.
|
String |
getExternalKey()
External URI that can be used to reference the object.
|
String |
getKey()
Immutable unique key of a rule.
|
LifecycleState |
getLifecycleState()
State of the rule.
|
RuleOriginType |
getOriginType()
Origin type of the rule.
|
List<RuleAttribute> |
getReferencedAttributes()
Attributes associated with referenced rule, applicable only when rule type is FOREIGNKEY.
|
String |
getReferencedEntityKey()
Entity key that represents the referenced entity, applicable only when rule type is FOREIGNKEY.
|
String |
getReferencedEntityName()
Entity name that represents the referenced entity, applicable only when rule type is FOREIGNKEY.
|
String |
getReferencedFolderKey()
Folder key that represents the referenced folder, applicable only when rule type FOREIGNKEY.
|
String |
getReferencedFolderName()
Folder name that represents the referenced folder, applicable only when rule type FOREIGNKEY.
|
String |
getReferencedRuleKey()
Rule key that represents the referenced rule, applicable only when rule type is FOREIGNKEY.
|
String |
getReferencedRuleName()
Rule name that represents the referenced rule, applicable only when rule type is FOREIGNKEY.
|
RuleType |
getRuleType()
Type of a rule.
|
Date |
getTimeCreated()
The date and time the rule was created, in the format defined by RFC3339.
|
String |
getUri()
URI to the rule instance in the API.
|
int |
hashCode() |
RuleSummary.Builder |
toBuilder() |
String |
toString() |
@Deprecated @ConstructorProperties(value={"key","displayName","description","ruleType","externalKey","attributes","referencedFolderKey","referencedFolderName","referencedEntityKey","referencedEntityName","referencedRuleKey","referencedRuleName","referencedAttributes","originType","uri","timeCreated","lifecycleState"}) public RuleSummary(String key, String displayName, String description, RuleType ruleType, String externalKey, List<RuleAttribute> attributes, String referencedFolderKey, String referencedFolderName, String referencedEntityKey, String referencedEntityName, String referencedRuleKey, String referencedRuleName, List<RuleAttribute> referencedAttributes, RuleOriginType originType, String uri, Date timeCreated, LifecycleState lifecycleState)
public static RuleSummary.Builder builder()
Create a new builder.
public RuleSummary.Builder toBuilder()
public String getKey()
Immutable unique key of a rule.
public String getDisplayName()
A user-friendly display name. Does not have to be unique, and it’s changeable. Avoid entering confidential information.
public String getDescription()
Detailed description of a rule.
public RuleType getRuleType()
Type of a rule.
public String getExternalKey()
External URI that can be used to reference the object. Format will differ based on the type of object.
public List<RuleAttribute> getAttributes()
Attributes associated with a rule. A UNIQUEKEY rule would contain (at least) one attribute, for the local table column(s) on which uniqueness is defined.
public String getReferencedFolderKey()
Folder key that represents the referenced folder, applicable only when rule type FOREIGNKEY.
public String getReferencedFolderName()
Folder name that represents the referenced folder, applicable only when rule type FOREIGNKEY.
public String getReferencedEntityKey()
Entity key that represents the referenced entity, applicable only when rule type is FOREIGNKEY.
public String getReferencedEntityName()
Entity name that represents the referenced entity, applicable only when rule type is FOREIGNKEY.
public String getReferencedRuleKey()
Rule key that represents the referenced rule, applicable only when rule type is FOREIGNKEY.
public String getReferencedRuleName()
Rule name that represents the referenced rule, applicable only when rule type is FOREIGNKEY.
public List<RuleAttribute> getReferencedAttributes()
Attributes associated with referenced rule, applicable only when rule type is FOREIGNKEY. A FOREIGNKEY rule would contain (at least) one attribute, for the local table column(s), and (at least) one referencedAttribute for referenced table column(s).
public RuleOriginType getOriginType()
Origin type of the rule.
public String getUri()
URI to the rule instance in the API.
public Date getTimeCreated()
The date and time the rule was created, in the format defined by RFC3339.
Example: 2019-03-25T21:10:29.600Z
public LifecycleState getLifecycleState()
State of the rule.
Copyright © 2016–2022. All rights reserved.