Class NFEBasicFeatureClass
- java.lang.Object
-
- oracle.spatial.network.nfe.model.feature.NFEFeatureClass
-
- oracle.spatial.network.nfe.model.feature.NFEBasicFeatureClass
-
public class NFEBasicFeatureClass extends NFEFeatureClass
The default implementation ofNFEFeatureClass
-
-
Constructor Summary
Constructors Constructor Description NFEBasicFeatureClass()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddAttributeConstraint(NFEAttributeConstraint attrConstraint)Adds an attribute constraint to the feature classvoidaddPredefinedConnectedPoint(NFEPredefinedConnectedPoint predefConnPoint)Adds a predefined connected point descriptor to the feature classNFEFeatureClasscreateCopy()Returns object copy.java.util.Collection<NFEAttributeConstraint>getAttributeConstraints()Gets all the attribute constraint contained by the feature classNFEFeatureLayergetFeatureLayer()Gets the feature class' feature layerlonggetId()Gets the feature class' IDintgetMaxInConnections()Gets the maximum number of in connections when the feature class' shape type is pointintgetMaxOutConnections()Gets the maximum number of out connections when the feature class' shape type is pointjava.lang.StringgetName()Gets the feature class' namejava.util.List<NFEPredefinedConnectedPoint>getPredefinedConnectedPoints()Gets the predefined connected points set to the feature class when the shape type is LINE or COMPLEX_LINENFEFeatureShapegetShape()Gets the feature class' feature shape typeoracle.sdovis.style.StylegetStyle()Gets the SDO style instance assigned to the feature classjava.lang.StringgetStyleName()Gets the name of the style associated to this stylebooleanremoveAttributeContraint(NFEAttributeConstraint attrConstraint)Removes an attribute constraint from the feature classbooleanremovePredefinedConnectedPoint(NFEPredefinedConnectedPoint predefConnPoint)Removes the give predefined connected point descriptor from the feature classvoidsetFeatureLayer(NFEFeatureLayer featureLayer)Sets the feature class' feature layervoidsetId(long id)Sets the feature class' IDvoidsetMaxInConnections(int maxInConnections)Sets the maximum number of in connections when the feature class' shape type is pointvoidsetMaxOutConnections(int maxOutConnections)Gets the maximum number of out connections when the feature class' shape type is pointvoidsetName(java.lang.String name)Sets the feature class' namevoidsetShape(NFEFeatureShape shape)Sets the feature class' feature shape typevoidsetStyle(oracle.sdovis.style.Style style)Sets the SDO style instance assigned to the feature class.voidsetStyleName(java.lang.String styleName)Sets the name of the style associated to this style.
-
-
-
Method Detail
-
getId
public long getId()
Description copied from class:NFEFeatureClassGets the feature class' ID- Specified by:
getIdin classNFEFeatureClass- Returns:
- a feature class ID
-
setId
public void setId(long id)
Description copied from class:NFEFeatureClassSets the feature class' ID- Specified by:
setIdin classNFEFeatureClass- Parameters:
id- a feature class ID
-
getFeatureLayer
public NFEFeatureLayer getFeatureLayer()
Description copied from class:NFEFeatureClassGets the feature class' feature layer- Specified by:
getFeatureLayerin classNFEFeatureClass- Returns:
- a feature layer instance
-
setFeatureLayer
public void setFeatureLayer(NFEFeatureLayer featureLayer)
Description copied from class:NFEFeatureClassSets the feature class' feature layer- Specified by:
setFeatureLayerin classNFEFeatureClass- Parameters:
featureLayer- a feature layer instance
-
getName
public java.lang.String getName()
Description copied from class:NFEFeatureClassGets the feature class' name- Specified by:
getNamein classNFEFeatureClass- Returns:
- the feature class' name
-
setName
public void setName(java.lang.String name)
Description copied from class:NFEFeatureClassSets the feature class' name- Specified by:
setNamein classNFEFeatureClass- Parameters:
name- the feature class' name
-
getShape
public NFEFeatureShape getShape()
Description copied from class:NFEFeatureClassGets the feature class' feature shape type- Specified by:
getShapein classNFEFeatureClass- Returns:
- a feature shape type
-
setShape
public void setShape(NFEFeatureShape shape)
Description copied from class:NFEFeatureClassSets the feature class' feature shape type- Specified by:
setShapein classNFEFeatureClass- Parameters:
shape- a feature shape type
-
getMaxInConnections
public int getMaxInConnections()
Description copied from class:NFEFeatureClassGets the maximum number of in connections when the feature class' shape type is point- Specified by:
getMaxInConnectionsin classNFEFeatureClass- Returns:
- the maximum number of in connections
-
setMaxInConnections
public void setMaxInConnections(int maxInConnections)
Description copied from class:NFEFeatureClassSets the maximum number of in connections when the feature class' shape type is point- Specified by:
setMaxInConnectionsin classNFEFeatureClass- Parameters:
maxInConnections- the maximum number of in connections
-
getMaxOutConnections
public int getMaxOutConnections()
Description copied from class:NFEFeatureClassGets the maximum number of out connections when the feature class' shape type is point- Specified by:
getMaxOutConnectionsin classNFEFeatureClass- Returns:
- the maximum number of out connections
-
setMaxOutConnections
public void setMaxOutConnections(int maxOutConnections)
Description copied from class:NFEFeatureClassGets the maximum number of out connections when the feature class' shape type is point- Specified by:
setMaxOutConnectionsin classNFEFeatureClass- Parameters:
maxOutConnections- the maximum number of out connections
-
getStyleName
public java.lang.String getStyleName()
Description copied from class:NFEFeatureClassGets the name of the style associated to this style- Specified by:
getStyleNamein classNFEFeatureClass- Returns:
- a style name
-
setStyleName
public void setStyleName(java.lang.String styleName)
Description copied from class:NFEFeatureClassSets the name of the style associated to this style. This name is used to reference the style in the database.- Specified by:
setStyleNamein classNFEFeatureClass- Parameters:
styleName- a style name
-
getStyle
public oracle.sdovis.style.Style getStyle()
Description copied from class:NFEFeatureClassGets the SDO style instance assigned to the feature class- Specified by:
getStylein classNFEFeatureClass- Returns:
- an SDO style instance
-
setStyle
public void setStyle(oracle.sdovis.style.Style style)
Description copied from class:NFEFeatureClassSets the SDO style instance assigned to the feature class. More information about how to define styles is available in the in the User's Guide for Oracle MapViewer.- Specified by:
setStylein classNFEFeatureClass- Parameters:
style- an SDO style instance
-
getAttributeConstraints
public java.util.Collection<NFEAttributeConstraint> getAttributeConstraints()
Description copied from class:NFEFeatureClassGets all the attribute constraint contained by the feature class- Specified by:
getAttributeConstraintsin classNFEFeatureClass- Returns:
- a collection of attribute constraint instances
-
addAttributeConstraint
public void addAttributeConstraint(NFEAttributeConstraint attrConstraint)
Description copied from class:NFEFeatureClassAdds an attribute constraint to the feature class- Specified by:
addAttributeConstraintin classNFEFeatureClass- Parameters:
attrConstraint- an attribute constraint instance
-
removeAttributeContraint
public boolean removeAttributeContraint(NFEAttributeConstraint attrConstraint)
Description copied from class:NFEFeatureClassRemoves an attribute constraint from the feature class- Specified by:
removeAttributeContraintin classNFEFeatureClass- Parameters:
attrConstraint- an attribute constraint instance- Returns:
- true if the attribute was removed
-
getPredefinedConnectedPoints
public java.util.List<NFEPredefinedConnectedPoint> getPredefinedConnectedPoints()
Description copied from class:NFEFeatureClassGets the predefined connected points set to the feature class when the shape type is LINE or COMPLEX_LINE- Specified by:
getPredefinedConnectedPointsin classNFEFeatureClass- Returns:
- a list of predefined feature point descriptors
-
addPredefinedConnectedPoint
public void addPredefinedConnectedPoint(NFEPredefinedConnectedPoint predefConnPoint)
Description copied from class:NFEFeatureClassAdds a predefined connected point descriptor to the feature class- Specified by:
addPredefinedConnectedPointin classNFEFeatureClass- Parameters:
predefConnPoint- a predefined connected point descriptor
-
removePredefinedConnectedPoint
public boolean removePredefinedConnectedPoint(NFEPredefinedConnectedPoint predefConnPoint)
Description copied from class:NFEFeatureClassRemoves the give predefined connected point descriptor from the feature class- Specified by:
removePredefinedConnectedPointin classNFEFeatureClass- Parameters:
predefConnPoint- a predefined connected point descriptor- Returns:
- true if the element was removed
-
createCopy
public NFEFeatureClass createCopy()
Description copied from class:NFEFeatureClassReturns object copy.- Specified by:
createCopyin classNFEFeatureClass- Returns:
- object copy
-
-