public static interface Graph.Features.ElementFeatures extends Graph.Features.FeatureSet
Element
objects. This is a base interface.Type | Property and Description |
---|---|
default boolean |
supportsAdd
Determines if an
Element allows properties to be added. |
default boolean |
supportsRemove
Determines if an
Element allows properties to be removed. |
Modifier and Type | Field and Description |
---|---|
static String |
FEATURE_ADD_PROPERTY |
static String |
FEATURE_ANY_IDS |
static String |
FEATURE_CUSTOM_IDS |
static String |
FEATURE_NUMERIC_IDS |
static String |
FEATURE_REMOVE_PROPERTY |
static String |
FEATURE_STRING_IDS |
static String |
FEATURE_USER_SUPPLIED_IDS |
static String |
FEATURE_UUID_IDS |
Modifier and Type | Method and Description |
---|---|
default boolean |
supportsAddProperty()
Determines if an
Element allows properties to be added. |
default boolean |
supportsAnyIds()
Determines if an
Element any Java object is a suitable identifier. |
default boolean |
supportsCustomIds()
Determines if an
Element has a specific custom object as their internal representation. |
default boolean |
supportsNumericIds()
Determines if an
Element has numeric identifiers as their internal representation. |
default boolean |
supportsRemoveProperty()
Determines if an
Element allows properties to be removed. |
default boolean |
supportsStringIds()
Determines if an
Element has string identifiers as their internal representation. |
default boolean |
supportsUserSuppliedIds()
Determines if an
Element can have a user defined identifier. |
default boolean |
supportsUuidIds()
Determines if an
Element has UUID identifiers as their internal representation. |
default boolean supportsAddProperty
Element
allows properties to be added. This feature is set independently from
supporting "data types" and refers to support of calls to Element.property(String, Object)
.default boolean supportsRemoveProperty
Element
allows properties to be removed.static final String FEATURE_USER_SUPPLIED_IDS
static final String FEATURE_NUMERIC_IDS
static final String FEATURE_STRING_IDS
static final String FEATURE_UUID_IDS
static final String FEATURE_CUSTOM_IDS
static final String FEATURE_ANY_IDS
static final String FEATURE_ADD_PROPERTY
static final String FEATURE_REMOVE_PROPERTY
default boolean supportsAddProperty()
Element
allows properties to be added. This feature is set independently from
supporting "data types" and refers to support of calls to Element.property(String, Object)
.default boolean supportsRemoveProperty()
Element
allows properties to be removed.default boolean supportsUserSuppliedIds()
Element
can have a user defined identifier. Implementation that do not support
this feature will be expected to auto-generate unique identifiers.default boolean supportsNumericIds()
Element
has numeric identifiers as their internal representation.default boolean supportsStringIds()
Element
has string identifiers as their internal representation.default boolean supportsUuidIds()
Element
has UUID identifiers as their internal representation.default boolean supportsCustomIds()
Element
has a specific custom object as their internal representation.default boolean supportsAnyIds()
Element
any Java object is a suitable identifier. Note that this
setting can only return true if supportsUserSuppliedIds()
is true.Copyright © 2013–2015 Apache Software Foundation. All rights reserved.