public interface EntityMetadata
Represents the metadata for a document entity.
Type | Property and Description |
---|---|
boolean |
hasId
True if it contains an id property, false otherwise.
|
PropertyMetadata |
id
Returns the metadata for the id property if set, or null otherwise.
|
Modifier and Type | Method and Description |
---|---|
boolean |
hasIdProperty()
True if it contains an id property, false otherwise.
|
PropertyMetadata |
idProperty()
Returns the metadata for the id property if set, or null otherwise.
|
List<PropertyMetadata> |
properties()
Returns the metadata for all properties in this entity.
|
boolean hasIdProperty
True if it contains an id property, false otherwise.
PropertyMetadata idProperty
Returns the metadata for the id property if set, or null otherwise.
List<PropertyMetadata> properties()
Returns the metadata for all properties in this entity.
boolean hasIdProperty()
True if it contains an id property, false otherwise.
PropertyMetadata idProperty()
Returns the metadata for the id property if set, or null otherwise.
Copyright © 2015 Couchbase, Inc.