Class Entity
-
- All Implemented Interfaces:
public final class Entity
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classEntity.BuilderA builder for Entity.
-
Method Summary
Modifier and Type Method Description final Stringid()UUID of an existing entity final List<String>externalReferences()Your own identifiers for this entity final Stringname()Legal name of the entity final EntityTypetype()final JsonField<String>_id()Returns the raw JSON value of id. final JsonField<List<String>>_externalReferences()Returns the raw JSON value of externalReferences. final JsonField<String>_name()Returns the raw JSON value of name. final JsonField<EntityType>_type()Returns the raw JSON value of type. final Map<String, JsonValue>_additionalProperties()final Entity.BuildertoBuilder()final Entityvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static Entity.Builderbuilder()Returns a mutable builder for constructing an instance of Entity. -
-
Method Detail
-
externalReferences
final List<String> externalReferences()
Your own identifiers for this entity
-
type
final EntityType type()
-
_id
final JsonField<String> _id()
Returns the raw JSON value of id.
Unlike id, this method doesn't throw if the JSON field has an unexpected type.
-
_externalReferences
final JsonField<List<String>> _externalReferences()
Returns the raw JSON value of externalReferences.
Unlike externalReferences, this method doesn't throw if the JSON field has an unexpected type.
-
_name
final JsonField<String> _name()
Returns the raw JSON value of name.
Unlike name, this method doesn't throw if the JSON field has an unexpected type.
-
_type
final JsonField<EntityType> _type()
Returns the raw JSON value of type.
Unlike type, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final Entity.Builder toBuilder()
-
builder
final static Entity.Builder builder()
Returns a mutable builder for constructing an instance of Entity.
The following fields are required:
.id() .externalReferences() .name() .type()
-
-
-
-