@Generated(value="OracleSDKGenerator", comments="API Version: 20190325") public final class CreateTermDetails extends ExplicitlySetBmcModel
Properties used in term create operations.
Note: Objects should always be created or deserialized using the CreateTermDetails.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 CreateTermDetails.Builder
, which maintain a set of all explicitly set fields called
ExplicitlySetBmcModel.__explicitlySet__
. The hashCode()
and equals(Object)
methods are implemented to take
ExplicitlySetBmcModel.__explicitlySet__
into account. The constructor, on the other hand, does not set ExplicitlySetBmcModel.__explicitlySet__
(since the constructor cannot distinguish explicit null
from unset null
).
Modifier and Type | Class and Description |
---|---|
static class |
CreateTermDetails.Builder |
Constructor and Description |
---|
CreateTermDetails(String displayName,
String description,
Boolean isAllowedToHaveChildTerms,
String parentTermKey,
String owner,
TermWorkflowStatus workflowStatus,
List<CustomPropertySetUsage> customPropertyMembers)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static CreateTermDetails.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
List<CustomPropertySetUsage> |
getCustomPropertyMembers()
The list of customized properties along with the values for this object
|
String |
getDescription()
Detailed description of the term.
|
String |
getDisplayName()
A user-friendly display name.
|
Boolean |
getIsAllowedToHaveChildTerms()
Indicates whether a term may contain child terms.
|
String |
getOwner()
OCID of the user who is the owner of this business terminology.
|
String |
getParentTermKey()
The parent key of the term.
|
TermWorkflowStatus |
getWorkflowStatus()
Status of the approval process workflow for this business term in the glossary.
|
int |
hashCode() |
CreateTermDetails.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"displayName","description","isAllowedToHaveChildTerms","parentTermKey","owner","workflowStatus","customPropertyMembers"}) public CreateTermDetails(String displayName, String description, Boolean isAllowedToHaveChildTerms, String parentTermKey, String owner, TermWorkflowStatus workflowStatus, List<CustomPropertySetUsage> customPropertyMembers)
public static CreateTermDetails.Builder builder()
Create a new builder.
public CreateTermDetails.Builder toBuilder()
public String getDisplayName()
A user-friendly display name. Is changeable. The combination of ‘displayName’ and ‘parentTermKey’ must be unique. Avoid entering confidential information.
public String getDescription()
Detailed description of the term.
public Boolean getIsAllowedToHaveChildTerms()
Indicates whether a term may contain child terms.
public String getParentTermKey()
The parent key of the term. In the case of a root-level category only, the term would have no parent and this should be left unset.
public String getOwner()
OCID of the user who is the owner of this business terminology.
public TermWorkflowStatus getWorkflowStatus()
Status of the approval process workflow for this business term in the glossary.
public List<CustomPropertySetUsage> getCustomPropertyMembers()
The list of customized properties along with the values for this object
public String toString()
toString
in class 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 ExplicitlySetBmcModel
public int hashCode()
hashCode
in class ExplicitlySetBmcModel
Copyright © 2016–2023. All rights reserved.