public class NFEBasicModelObjectFactory extends java.lang.Object implements NFEModelObjectFactory
Constructor and Description |
---|
NFEBasicModelObjectFactory() |
Modifier and Type | Method and Description |
---|---|
NFEAttributeConstraint |
createAttributeConstraint()
Creates a new instance of NFEAttributeConstaint and automatically assigns an ID to it.
|
NFEAttributeConstraint |
createAttributeConstraint(long attrConstraintId)
Creates a new instance of NFEAttributeConstaint and sets the given ID.
|
NFEAttributeDescriptor |
createAttributeDescriptor()
Creates a new instance of NFEAttributeDescriptor.
|
NFECardinalityRule |
createCardinalityRule()
Creates a new instance of NFECardinalityRule with and automatically assigns an ID to it
|
NFECardinalityRule |
createCardinalityRule(long ruleId)
Creates a new instance of NFECardinalityRule with and sets the given ID
|
NFECatalog |
createCatalog()
Creates a new instance of NFECatalog and automatically assigns an ID to it.
|
NFECatalog |
createCatalog(long catalogId)
Creates a new instance of NFECatalog and sets the given ID.
|
NFECatalogValue |
createCatalogValue()
Creates a new instance of NFECatalogValue.
|
NFEFeature |
createFeature(long featureLayerId)
Creates a new instance of NFEFeature for the Feature Layer identified by the given featureLayerId.
|
NFEFeature |
createFeature(long featureLayerId, long featureId)
Creates a new instance of NFEFeature for the Feature Layer identified by the given featureLayerId and sets the given Feature ID.
|
NFEFeatureClass |
createFeatureClass()
Creates a new instance of NFEFeatureClass and automatically assigns an ID to it.
|
NFEFeatureClass |
createFeatureClass(long featureClassId)
Creates a new instance of NFEFeatureClass and sets the given ID.
|
NFEFeatureElement |
createFeatureElement(long featureLayerId)
Creates a new instance of NFEFeatureElement for the Feature Layer identified by the given featureLayerId and automatically sets a sequence number to the Feature Element.
|
NFEFeatureElement |
createFeatureElement(long featureLayerId, long sequence)
Creates a new instance of NFEFeatureElement for the Feature Layer identified by the given featureLayerId and sets the given sequence number to the Feature Element.
|
NFEFeatureLayer |
createFeatureLayer()
Creates a new instance of NFEFeatureLayer.
|
NFELineLineRule |
createLineLineRule()
Creates a new instance of NFELineLineRule with and automatically assigns an ID to it
|
NFELineLineRule |
createLineLineRule(long ruleId)
Creates a new instance of NFELineLineRule with and sets the given ID
|
NFELinePointRule |
createLinePointRule()
Creates a new instance of NFELinePointRule with and automatically assigns an ID to it
|
NFELinePointRule |
createLinePointRule(long ruleId)
Creates a new instance of NFELinePointRule with and sets the given ID
|
NFELink |
createLink(long id, NFENode startNode, NFENode endNode)
Creates a new instance of NFELink and sets the given ID.
|
NFELink |
createLink(NFENode startNode, NFENode endNode)
Creates a new instance of NFELink and assigns an ID.
|
NFENetwork |
createNetwork()
Creates a new instance of NFENetwork class.
|
NFENode |
createNode()
Creates a new instance of NFENode and assigns an ID.
|
NFENode |
createNode(long id)
Creates a new instance of NFENode and sets the given ID.
|
NFEPredefinedConnectedPoint |
createPredefinedConnectedPoint()
Creates a new instance of NFEPredefinedConnectedPoint with an ID assigned automatically.
|
NFEPredefinedConnectedPoint |
createPredefinedConnectedPoint(long predefConnPointId)
Creates a new instance of NFEPredefinedConnectedPoint and sets the given ID.
|
NFERuleInstance |
createRuleInstance()
Creates a new instance of NFERuleInstance with and automatically assigns an ID to it
|
NFERuleInstance |
createRuleInstance(long ruleInstanceId)
Creates a new instance of NFERuleInstance with and sets the given ID
|
NFEIdManager |
getIdManager()
Gets the NFEIdManager instance currently used.
|
NFEModel |
getModel()
Returns the current NFEModel instance
|
void |
setIdManager(NFEIdManager idManager)
Sets an instance of NFEIdManager which is used to assign ID's to newly created instances.
|
void |
setModel(NFEModel model)
Sets an instance of NFEModel.
|
public void setModel(NFEModel model)
NFEModelObjectFactory
setModel
in interface NFEModelObjectFactory
model
- an NFEModel instancepublic NFEModel getModel()
NFEModelObjectFactory
getModel
in interface NFEModelObjectFactory
public void setIdManager(NFEIdManager idManager)
NFEModelObjectFactory
setIdManager
in interface NFEModelObjectFactory
idManager
- an NFEIdManager instancepublic NFEIdManager getIdManager()
NFEModelObjectFactory
getIdManager
in interface NFEModelObjectFactory
public NFENetwork createNetwork()
NFEModelObjectFactory
createNetwork
in interface NFEModelObjectFactory
public NFENode createNode()
NFEModelObjectFactory
createNode
in interface NFEModelObjectFactory
public NFENode createNode(long id)
NFEModelObjectFactory
createNode
in interface NFEModelObjectFactory
id
- a unique ID for the newly created NFENode instancepublic NFELink createLink(NFENode startNode, NFENode endNode)
NFEModelObjectFactory
createLink
in interface NFEModelObjectFactory
startNode
- the link's start nodeendNode
- the link's end nodepublic NFELink createLink(long id, NFENode startNode, NFENode endNode)
NFEModelObjectFactory
createLink
in interface NFEModelObjectFactory
startNode
- the link's start nodeendNode
- the link's end nodepublic NFEFeatureLayer createFeatureLayer()
NFEModelObjectFactory
createFeatureLayer
in interface NFEModelObjectFactory
public NFEFeature createFeature(long featureLayerId)
NFEModelObjectFactory
createFeature
in interface NFEModelObjectFactory
featureLayerId
- an ID of an existing NFEFeatureLayerpublic NFEFeature createFeature(long featureLayerId, long featureId)
NFEModelObjectFactory
createFeature
in interface NFEModelObjectFactory
featureLayerId
- an ID of an existing NFEFeatureLayerfeatureId
- a unique ID for the newly created NFEFeature instancepublic NFEFeatureElement createFeatureElement(long featureLayerId)
NFEModelObjectFactory
createFeatureElement
in interface NFEModelObjectFactory
featureLayerId
- an ID of an existing NFEFeatureLayerpublic NFEFeatureElement createFeatureElement(long featureLayerId, long sequence)
NFEModelObjectFactory
createFeatureElement
in interface NFEModelObjectFactory
featureLayerId
- an ID of an existing NFEFeatureLayersequence
- a sequence number for the newly created Feature Elementpublic NFEFeatureClass createFeatureClass()
NFEModelObjectFactory
createFeatureClass
in interface NFEModelObjectFactory
public NFEFeatureClass createFeatureClass(long featureClassId)
NFEModelObjectFactory
createFeatureClass
in interface NFEModelObjectFactory
featureClassId
- an ID for the newly created NFEFeatureClass instancepublic NFEAttributeDescriptor createAttributeDescriptor()
NFEModelObjectFactory
createAttributeDescriptor
in interface NFEModelObjectFactory
public NFEAttributeConstraint createAttributeConstraint()
NFEModelObjectFactory
createAttributeConstraint
in interface NFEModelObjectFactory
public NFEAttributeConstraint createAttributeConstraint(long attrConstraintId)
NFEModelObjectFactory
createAttributeConstraint
in interface NFEModelObjectFactory
attrConstraintId
- an ID for the newly created NFEAttributeConstraint instancepublic NFECatalog createCatalog()
NFEModelObjectFactory
createCatalog
in interface NFEModelObjectFactory
public NFECatalog createCatalog(long catalogId)
NFEModelObjectFactory
createCatalog
in interface NFEModelObjectFactory
catalogId
- an ID for the newly created NFECatalog instancepublic NFECatalogValue createCatalogValue()
NFEModelObjectFactory
createCatalogValue
in interface NFEModelObjectFactory
public NFEPredefinedConnectedPoint createPredefinedConnectedPoint()
NFEModelObjectFactory
createPredefinedConnectedPoint
in interface NFEModelObjectFactory
public NFEPredefinedConnectedPoint createPredefinedConnectedPoint(long predefConnPointId)
NFEModelObjectFactory
createPredefinedConnectedPoint
in interface NFEModelObjectFactory
predefConnPointId
- an ID for the newly created NFEPredefinedConnectedPoint instancepublic NFELinePointRule createLinePointRule()
NFEModelObjectFactory
createLinePointRule
in interface NFEModelObjectFactory
public NFELineLineRule createLineLineRule()
NFEModelObjectFactory
createLineLineRule
in interface NFEModelObjectFactory
public NFELinePointRule createLinePointRule(long ruleId)
NFEModelObjectFactory
createLinePointRule
in interface NFEModelObjectFactory
ruleId
- an ID for the newly created NFELinePointRule instancepublic NFELineLineRule createLineLineRule(long ruleId)
NFEModelObjectFactory
createLineLineRule
in interface NFEModelObjectFactory
ruleId
- an ID for the newly created NFELineLineRule instancepublic NFERuleInstance createRuleInstance()
NFEModelObjectFactory
createRuleInstance
in interface NFEModelObjectFactory
public NFERuleInstance createRuleInstance(long ruleInstanceId)
NFEModelObjectFactory
createRuleInstance
in interface NFEModelObjectFactory
ruleInstanceId
- an ID for the newly created NFERuleInstance instancepublic NFECardinalityRule createCardinalityRule()
NFEModelObjectFactory
createCardinalityRule
in interface NFEModelObjectFactory
public NFECardinalityRule createCardinalityRule(long ruleId)
NFEModelObjectFactory
createCardinalityRule
in interface NFEModelObjectFactory
ruleId
- an ID for the newly created NFECardinalityRule instance