@Generated(value="OracleSDKGenerator", comments="API Version: 20190506") public final class CompositeEntity extends Entity
Metadata for a composite entity.
Note: Objects should always be created or deserialized using the CompositeEntity.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 CompositeEntity.Builder
, which maintain a
set of all explicitly set fields called CompositeEntity.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 |
CompositeEntity.Builder |
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
CompositeEntity(String id,
String name,
List<EntityAttribute> attributes,
List<EntityAction> actions,
EntityNaturalLanguageMapping naturalLanguageMapping)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static CompositeEntity.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
List<EntityAction> |
getActions()
List of entity actions.
|
List<EntityAttribute> |
getAttributes()
List of entity attributes.
|
EntityNaturalLanguageMapping |
getNaturalLanguageMapping() |
int |
hashCode() |
CompositeEntity.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated public CompositeEntity(String id, String name, List<EntityAttribute> attributes, List<EntityAction> actions, EntityNaturalLanguageMapping naturalLanguageMapping)
public static CompositeEntity.Builder builder()
Create a new builder.
public CompositeEntity.Builder toBuilder()
public List<EntityAttribute> getAttributes()
List of entity attributes.
public List<EntityAction> getActions()
List of entity actions.
public EntityNaturalLanguageMapping getNaturalLanguageMapping()
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
Copyright © 2016–2024. All rights reserved.