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)
NFEModelObjectFactorysetModel in interface NFEModelObjectFactorymodel - an NFEModel instancepublic NFEModel getModel()
NFEModelObjectFactorygetModel in interface NFEModelObjectFactorypublic void setIdManager(NFEIdManager idManager)
NFEModelObjectFactorysetIdManager in interface NFEModelObjectFactoryidManager - an NFEIdManager instancepublic NFEIdManager getIdManager()
NFEModelObjectFactorygetIdManager in interface NFEModelObjectFactorypublic NFENetwork createNetwork()
NFEModelObjectFactorycreateNetwork in interface NFEModelObjectFactorypublic NFENode createNode()
NFEModelObjectFactorycreateNode in interface NFEModelObjectFactorypublic NFENode createNode(long id)
NFEModelObjectFactorycreateNode in interface NFEModelObjectFactoryid - a unique ID for the newly created NFENode instancepublic NFELink createLink(NFENode startNode, NFENode endNode)
NFEModelObjectFactorycreateLink in interface NFEModelObjectFactorystartNode - the link's start nodeendNode - the link's end nodepublic NFELink createLink(long id, NFENode startNode, NFENode endNode)
NFEModelObjectFactorycreateLink in interface NFEModelObjectFactorystartNode - the link's start nodeendNode - the link's end nodepublic NFEFeatureLayer createFeatureLayer()
NFEModelObjectFactorycreateFeatureLayer in interface NFEModelObjectFactorypublic NFEFeature createFeature(long featureLayerId)
NFEModelObjectFactorycreateFeature in interface NFEModelObjectFactoryfeatureLayerId - an ID of an existing NFEFeatureLayerpublic NFEFeature createFeature(long featureLayerId, long featureId)
NFEModelObjectFactorycreateFeature in interface NFEModelObjectFactoryfeatureLayerId - an ID of an existing NFEFeatureLayerfeatureId - a unique ID for the newly created NFEFeature instancepublic NFEFeatureElement createFeatureElement(long featureLayerId)
NFEModelObjectFactorycreateFeatureElement in interface NFEModelObjectFactoryfeatureLayerId - an ID of an existing NFEFeatureLayerpublic NFEFeatureElement createFeatureElement(long featureLayerId, long sequence)
NFEModelObjectFactorycreateFeatureElement in interface NFEModelObjectFactoryfeatureLayerId - an ID of an existing NFEFeatureLayersequence - a sequence number for the newly created Feature Elementpublic NFEFeatureClass createFeatureClass()
NFEModelObjectFactorycreateFeatureClass in interface NFEModelObjectFactorypublic NFEFeatureClass createFeatureClass(long featureClassId)
NFEModelObjectFactorycreateFeatureClass in interface NFEModelObjectFactoryfeatureClassId - an ID for the newly created NFEFeatureClass instancepublic NFEAttributeDescriptor createAttributeDescriptor()
NFEModelObjectFactorycreateAttributeDescriptor in interface NFEModelObjectFactorypublic NFEAttributeConstraint createAttributeConstraint()
NFEModelObjectFactorycreateAttributeConstraint in interface NFEModelObjectFactorypublic NFEAttributeConstraint createAttributeConstraint(long attrConstraintId)
NFEModelObjectFactorycreateAttributeConstraint in interface NFEModelObjectFactoryattrConstraintId - an ID for the newly created NFEAttributeConstraint instancepublic NFECatalog createCatalog()
NFEModelObjectFactorycreateCatalog in interface NFEModelObjectFactorypublic NFECatalog createCatalog(long catalogId)
NFEModelObjectFactorycreateCatalog in interface NFEModelObjectFactorycatalogId - an ID for the newly created NFECatalog instancepublic NFECatalogValue createCatalogValue()
NFEModelObjectFactorycreateCatalogValue in interface NFEModelObjectFactorypublic NFEPredefinedConnectedPoint createPredefinedConnectedPoint()
NFEModelObjectFactorycreatePredefinedConnectedPoint in interface NFEModelObjectFactorypublic NFEPredefinedConnectedPoint createPredefinedConnectedPoint(long predefConnPointId)
NFEModelObjectFactorycreatePredefinedConnectedPoint in interface NFEModelObjectFactorypredefConnPointId - an ID for the newly created NFEPredefinedConnectedPoint instancepublic NFELinePointRule createLinePointRule()
NFEModelObjectFactorycreateLinePointRule in interface NFEModelObjectFactorypublic NFELineLineRule createLineLineRule()
NFEModelObjectFactorycreateLineLineRule in interface NFEModelObjectFactorypublic NFELinePointRule createLinePointRule(long ruleId)
NFEModelObjectFactorycreateLinePointRule in interface NFEModelObjectFactoryruleId - an ID for the newly created NFELinePointRule instancepublic NFELineLineRule createLineLineRule(long ruleId)
NFEModelObjectFactorycreateLineLineRule in interface NFEModelObjectFactoryruleId - an ID for the newly created NFELineLineRule instancepublic NFERuleInstance createRuleInstance()
NFEModelObjectFactorycreateRuleInstance in interface NFEModelObjectFactorypublic NFERuleInstance createRuleInstance(long ruleInstanceId)
NFEModelObjectFactorycreateRuleInstance in interface NFEModelObjectFactoryruleInstanceId - an ID for the newly created NFERuleInstance instancepublic NFECardinalityRule createCardinalityRule()
NFEModelObjectFactorycreateCardinalityRule in interface NFEModelObjectFactorypublic NFECardinalityRule createCardinalityRule(long ruleId)
NFEModelObjectFactorycreateCardinalityRule in interface NFEModelObjectFactoryruleId - an ID for the newly created NFECardinalityRule instance