public class NFEBasicFeatureClass extends NFEFeatureClass
NFEFeatureClass
Constructor and Description |
---|
NFEBasicFeatureClass() |
Modifier and Type | Method and Description |
---|---|
void |
addAttributeConstraint(NFEAttributeConstraint attrConstraint)
Adds an attribute constraint to the feature class
|
void |
addPredefinedConnectedPoint(NFEPredefinedConnectedPoint predefConnPoint)
Adds a predefined connected point descriptor to the feature class
|
NFEFeatureClass |
createCopy()
Returns object copy.
|
java.util.Collection<NFEAttributeConstraint> |
getAttributeConstraints()
Gets all the attribute constraint contained by the feature class
|
NFEFeatureLayer |
getFeatureLayer()
Gets the feature class' feature layer
|
long |
getId()
Gets the feature class' ID
|
int |
getMaxInConnections()
Gets the maximum number of in connections when the feature class' shape type is point
|
int |
getMaxOutConnections()
Gets the maximum number of out connections when the feature class' shape type is point
|
java.lang.String |
getName()
Gets the feature class' name
|
java.util.List<NFEPredefinedConnectedPoint> |
getPredefinedConnectedPoints()
Gets the predefined connected points set to the feature class when the shape type is LINE or COMPLEX_LINE
|
NFEFeatureShape |
getShape()
Gets the feature class' feature shape type
|
Style |
getStyle()
Gets the SDO style instance assigned to the feature class
|
java.lang.String |
getStyleName()
Gets the name of the style associated to this style
|
boolean |
removeAttributeContraint(NFEAttributeConstraint attrConstraint)
Removes an attribute constraint from the feature class
|
boolean |
removePredefinedConnectedPoint(NFEPredefinedConnectedPoint predefConnPoint)
Removes the give predefined connected point descriptor from the feature class
|
void |
setFeatureLayer(NFEFeatureLayer featureLayer)
Sets the feature class' feature layer
|
void |
setId(long id)
Sets the feature class' ID
|
void |
setMaxInConnections(int maxInConnections)
Sets the maximum number of in connections when the feature class' shape type is point
|
void |
setMaxOutConnections(int maxOutConnections)
Gets the maximum number of out connections when the feature class' shape type is point
|
void |
setName(java.lang.String name)
Sets the feature class' name
|
void |
setShape(NFEFeatureShape shape)
Sets the feature class' feature shape type
|
void |
setStyle(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.
|
public long getId()
NFEFeatureClass
getId
in class NFEFeatureClass
public void setId(long id)
NFEFeatureClass
setId
in class NFEFeatureClass
id
- a feature class IDpublic NFEFeatureLayer getFeatureLayer()
NFEFeatureClass
getFeatureLayer
in class NFEFeatureClass
public void setFeatureLayer(NFEFeatureLayer featureLayer)
NFEFeatureClass
setFeatureLayer
in class NFEFeatureClass
featureLayer
- a feature layer instancepublic java.lang.String getName()
NFEFeatureClass
getName
in class NFEFeatureClass
public void setName(java.lang.String name)
NFEFeatureClass
setName
in class NFEFeatureClass
name
- the feature class' namepublic NFEFeatureShape getShape()
NFEFeatureClass
getShape
in class NFEFeatureClass
public void setShape(NFEFeatureShape shape)
NFEFeatureClass
setShape
in class NFEFeatureClass
shape
- a feature shape typepublic int getMaxInConnections()
NFEFeatureClass
getMaxInConnections
in class NFEFeatureClass
public void setMaxInConnections(int maxInConnections)
NFEFeatureClass
setMaxInConnections
in class NFEFeatureClass
maxInConnections
- the maximum number of in connectionspublic int getMaxOutConnections()
NFEFeatureClass
getMaxOutConnections
in class NFEFeatureClass
public void setMaxOutConnections(int maxOutConnections)
NFEFeatureClass
setMaxOutConnections
in class NFEFeatureClass
maxOutConnections
- the maximum number of out connectionspublic java.lang.String getStyleName()
NFEFeatureClass
getStyleName
in class NFEFeatureClass
public void setStyleName(java.lang.String styleName)
NFEFeatureClass
setStyleName
in class NFEFeatureClass
styleName
- a style namepublic Style getStyle()
NFEFeatureClass
getStyle
in class NFEFeatureClass
public void setStyle(Style style)
NFEFeatureClass
setStyle
in class NFEFeatureClass
style
- an SDO style instancepublic java.util.Collection<NFEAttributeConstraint> getAttributeConstraints()
NFEFeatureClass
getAttributeConstraints
in class NFEFeatureClass
public void addAttributeConstraint(NFEAttributeConstraint attrConstraint)
NFEFeatureClass
addAttributeConstraint
in class NFEFeatureClass
attrConstraint
- an attribute constraint instancepublic boolean removeAttributeContraint(NFEAttributeConstraint attrConstraint)
NFEFeatureClass
removeAttributeContraint
in class NFEFeatureClass
attrConstraint
- an attribute constraint instancepublic java.util.List<NFEPredefinedConnectedPoint> getPredefinedConnectedPoints()
NFEFeatureClass
getPredefinedConnectedPoints
in class NFEFeatureClass
public void addPredefinedConnectedPoint(NFEPredefinedConnectedPoint predefConnPoint)
NFEFeatureClass
addPredefinedConnectedPoint
in class NFEFeatureClass
predefConnPoint
- a predefined connected point descriptorpublic boolean removePredefinedConnectedPoint(NFEPredefinedConnectedPoint predefConnPoint)
NFEFeatureClass
removePredefinedConnectedPoint
in class NFEFeatureClass
predefConnPoint
- a predefined connected point descriptorpublic NFEFeatureClass createCopy()
NFEFeatureClass
createCopy
in class NFEFeatureClass