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 void
addAttributeConstraint(NFEAttributeConstraint attrConstraint)
Adds an attribute constraint to the feature classvoid
addPredefinedConnectedPoint(NFEPredefinedConnectedPoint predefConnPoint)
Adds a predefined connected point descriptor to the feature classNFEFeatureClass
createCopy()
Returns object copy.java.util.Collection<NFEAttributeConstraint>
getAttributeConstraints()
Gets all the attribute constraint contained by the feature classNFEFeatureLayer
getFeatureLayer()
Gets the feature class' feature layerlong
getId()
Gets the feature class' IDint
getMaxInConnections()
Gets the maximum number of in connections when the feature class' shape type is pointint
getMaxOutConnections()
Gets the maximum number of out connections when the feature class' shape type is pointjava.lang.String
getName()
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_LINENFEFeatureShape
getShape()
Gets the feature class' feature shape typeoracle.sdovis.style.Style
getStyle()
Gets the SDO style instance assigned to the feature classjava.lang.String
getStyleName()
Gets the name of the style associated to this styleboolean
removeAttributeContraint(NFEAttributeConstraint attrConstraint)
Removes an attribute constraint from the feature classboolean
removePredefinedConnectedPoint(NFEPredefinedConnectedPoint predefConnPoint)
Removes the give predefined connected point descriptor from the feature classvoid
setFeatureLayer(NFEFeatureLayer featureLayer)
Sets the feature class' feature layervoid
setId(long id)
Sets the feature class' IDvoid
setMaxInConnections(int maxInConnections)
Sets the maximum number of in connections when the feature class' shape type is pointvoid
setMaxOutConnections(int maxOutConnections)
Gets the maximum number of out connections when the feature class' shape type is pointvoid
setName(java.lang.String name)
Sets the feature class' namevoid
setShape(NFEFeatureShape shape)
Sets the feature class' feature shape typevoid
setStyle(oracle.sdovis.style.Style style)
Sets the SDO style instance assigned to the feature class.void
setStyleName(java.lang.String styleName)
Sets the name of the style associated to this style.
-
-
-
Method Detail
-
getId
public long getId()
Description copied from class:NFEFeatureClass
Gets the feature class' ID- Specified by:
getId
in classNFEFeatureClass
- Returns:
- a feature class ID
-
setId
public void setId(long id)
Description copied from class:NFEFeatureClass
Sets the feature class' ID- Specified by:
setId
in classNFEFeatureClass
- Parameters:
id
- a feature class ID
-
getFeatureLayer
public NFEFeatureLayer getFeatureLayer()
Description copied from class:NFEFeatureClass
Gets the feature class' feature layer- Specified by:
getFeatureLayer
in classNFEFeatureClass
- Returns:
- a feature layer instance
-
setFeatureLayer
public void setFeatureLayer(NFEFeatureLayer featureLayer)
Description copied from class:NFEFeatureClass
Sets the feature class' feature layer- Specified by:
setFeatureLayer
in classNFEFeatureClass
- Parameters:
featureLayer
- a feature layer instance
-
getName
public java.lang.String getName()
Description copied from class:NFEFeatureClass
Gets the feature class' name- Specified by:
getName
in classNFEFeatureClass
- Returns:
- the feature class' name
-
setName
public void setName(java.lang.String name)
Description copied from class:NFEFeatureClass
Sets the feature class' name- Specified by:
setName
in classNFEFeatureClass
- Parameters:
name
- the feature class' name
-
getShape
public NFEFeatureShape getShape()
Description copied from class:NFEFeatureClass
Gets the feature class' feature shape type- Specified by:
getShape
in classNFEFeatureClass
- Returns:
- a feature shape type
-
setShape
public void setShape(NFEFeatureShape shape)
Description copied from class:NFEFeatureClass
Sets the feature class' feature shape type- Specified by:
setShape
in classNFEFeatureClass
- Parameters:
shape
- a feature shape type
-
getMaxInConnections
public int getMaxInConnections()
Description copied from class:NFEFeatureClass
Gets the maximum number of in connections when the feature class' shape type is point- Specified by:
getMaxInConnections
in classNFEFeatureClass
- Returns:
- the maximum number of in connections
-
setMaxInConnections
public void setMaxInConnections(int maxInConnections)
Description copied from class:NFEFeatureClass
Sets the maximum number of in connections when the feature class' shape type is point- Specified by:
setMaxInConnections
in classNFEFeatureClass
- Parameters:
maxInConnections
- the maximum number of in connections
-
getMaxOutConnections
public int getMaxOutConnections()
Description copied from class:NFEFeatureClass
Gets the maximum number of out connections when the feature class' shape type is point- Specified by:
getMaxOutConnections
in classNFEFeatureClass
- Returns:
- the maximum number of out connections
-
setMaxOutConnections
public void setMaxOutConnections(int maxOutConnections)
Description copied from class:NFEFeatureClass
Gets the maximum number of out connections when the feature class' shape type is point- Specified by:
setMaxOutConnections
in classNFEFeatureClass
- Parameters:
maxOutConnections
- the maximum number of out connections
-
getStyleName
public java.lang.String getStyleName()
Description copied from class:NFEFeatureClass
Gets the name of the style associated to this style- Specified by:
getStyleName
in classNFEFeatureClass
- Returns:
- a style name
-
setStyleName
public void setStyleName(java.lang.String styleName)
Description copied from class:NFEFeatureClass
Sets the name of the style associated to this style. This name is used to reference the style in the database.- Specified by:
setStyleName
in classNFEFeatureClass
- Parameters:
styleName
- a style name
-
getStyle
public oracle.sdovis.style.Style getStyle()
Description copied from class:NFEFeatureClass
Gets the SDO style instance assigned to the feature class- Specified by:
getStyle
in classNFEFeatureClass
- Returns:
- an SDO style instance
-
setStyle
public void setStyle(oracle.sdovis.style.Style style)
Description copied from class:NFEFeatureClass
Sets 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:
setStyle
in classNFEFeatureClass
- Parameters:
style
- an SDO style instance
-
getAttributeConstraints
public java.util.Collection<NFEAttributeConstraint> getAttributeConstraints()
Description copied from class:NFEFeatureClass
Gets all the attribute constraint contained by the feature class- Specified by:
getAttributeConstraints
in classNFEFeatureClass
- Returns:
- a collection of attribute constraint instances
-
addAttributeConstraint
public void addAttributeConstraint(NFEAttributeConstraint attrConstraint)
Description copied from class:NFEFeatureClass
Adds an attribute constraint to the feature class- Specified by:
addAttributeConstraint
in classNFEFeatureClass
- Parameters:
attrConstraint
- an attribute constraint instance
-
removeAttributeContraint
public boolean removeAttributeContraint(NFEAttributeConstraint attrConstraint)
Description copied from class:NFEFeatureClass
Removes an attribute constraint from the feature class- Specified by:
removeAttributeContraint
in 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:NFEFeatureClass
Gets the predefined connected points set to the feature class when the shape type is LINE or COMPLEX_LINE- Specified by:
getPredefinedConnectedPoints
in classNFEFeatureClass
- Returns:
- a list of predefined feature point descriptors
-
addPredefinedConnectedPoint
public void addPredefinedConnectedPoint(NFEPredefinedConnectedPoint predefConnPoint)
Description copied from class:NFEFeatureClass
Adds a predefined connected point descriptor to the feature class- Specified by:
addPredefinedConnectedPoint
in classNFEFeatureClass
- Parameters:
predefConnPoint
- a predefined connected point descriptor
-
removePredefinedConnectedPoint
public boolean removePredefinedConnectedPoint(NFEPredefinedConnectedPoint predefConnPoint)
Description copied from class:NFEFeatureClass
Removes the give predefined connected point descriptor from the feature class- Specified by:
removePredefinedConnectedPoint
in classNFEFeatureClass
- Parameters:
predefConnPoint
- a predefined connected point descriptor- Returns:
- true if the element was removed
-
createCopy
public NFEFeatureClass createCopy()
Description copied from class:NFEFeatureClass
Returns object copy.- Specified by:
createCopy
in classNFEFeatureClass
- Returns:
- object copy
-
-