public interface NFEIdManager
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ENTITY_ATTRIBUTE_CONSTRAINT
Represents an NFEAttributeConstraint
|
static java.lang.String |
ENTITY_CARDINALITY_RULE
Represents an NFECardinalityRule
|
static java.lang.String |
ENTITY_CATALOG
Represents an NFECatalog
|
static java.lang.String |
ENTITY_CATALOG_VALUE
Represents an NFECatalogValue
|
static java.lang.String |
ENTITY_FEATURE_CLASS
Represents an NFEFeatureClass
|
static java.lang.String |
ENTITY_LINE_LINE_RULE
Represents an NFELineLineRule
|
static java.lang.String |
ENTITY_LINE_POINT_RULE
Represents an NFELinePointRule
|
static java.lang.String |
ENTITY_LINK
Represents an NFELink
|
static java.lang.String |
ENTITY_NODE
Represents an NFENode
|
static java.lang.String |
ENTITY_PREDEF_CONN_POINT
Represents an NFEDefaultConnectedPoint
|
static java.lang.String |
ENTITY_RULE_INSTANCE
Represents an NFERuleInstance
|
Modifier and Type | Method and Description |
---|---|
NFEIdGenerator |
getIdGenerator(java.lang.String entityName)
Gets the NFEIdGenerator currently used for generating ID's for the given entity
|
NFEModel |
getModel()
Gets the current NFEModel instance
|
long |
getNextFeatureElementSequence(long featureLayerId)
Gets the next feature element sequence for the Feature Layer identified by the given featureLayerId.
|
long |
getNextFeatureId(long featureLayerId)
Gets the next feature ID for the Feature Layer identified by the given featureLayerId
|
long |
getNextId(java.lang.String entityName)
Gets the next ID for the given entity name.
|
long |
getNextLinkId()
Gets the next link ID.
|
long |
getNextNodeId()
Gets the next node ID.
|
void |
setIdBufferSize(int size)
Sets the ID buffer size used by all the ID generators managed
|
void |
setIdGenerator(java.lang.String entityName, NFEIdGenerator idGen)
Associates an NFEIdGenerator instance to the given entity.
|
void |
setModel(NFEModel model)
Sets the current NFEModel instance.
|
static final java.lang.String ENTITY_NODE
static final java.lang.String ENTITY_LINK
static final java.lang.String ENTITY_FEATURE_CLASS
static final java.lang.String ENTITY_CATALOG
static final java.lang.String ENTITY_CATALOG_VALUE
static final java.lang.String ENTITY_ATTRIBUTE_CONSTRAINT
static final java.lang.String ENTITY_PREDEF_CONN_POINT
static final java.lang.String ENTITY_LINE_POINT_RULE
static final java.lang.String ENTITY_LINE_LINE_RULE
static final java.lang.String ENTITY_CARDINALITY_RULE
static final java.lang.String ENTITY_RULE_INSTANCE
void setModel(NFEModel model)
model
- an NFEModel instanceNFEModel getModel()
void setIdGenerator(java.lang.String entityName, NFEIdGenerator idGen)
entityName
- an entity name. See the field summary for supported entity names.idGen
- an NFEIdGenerator instanceNFEIdGenerator getIdGenerator(java.lang.String entityName)
entityName
- an entity name.long getNextId(java.lang.String entityName)
entityName
- an entity namelong getNextNodeId()
long getNextLinkId()
long getNextFeatureId(long featureLayerId)
featureLayerId
- an existing Feature Layer IDlong getNextFeatureElementSequence(long featureLayerId)
featureLayerId
- featureLayerId an existing Feature Layer IDvoid setIdBufferSize(int size)
size
- the size of the buffer