Class NFECardinalityRule
- java.lang.Object
-
- oracle.spatial.network.nfe.model.rule.NFECardinalityRule
-
public class NFECardinalityRule extends java.lang.ObjectRepresents a cardinality rule associated to a feature layer and (optionally) a point feature class
-
-
Field Summary
Fields Modifier and Type Field Description static intCARDINALITY_UNBOUNDEDNo cardinality limit
-
Constructor Summary
Constructors Constructor Description NFECardinalityRule(long id)Allocates a new cardinality rule
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longgetFeatureClassId()Gets the feature class id for which the rule is applicablelonggetFeatureLayerId()Gets the feature layer id for which the rule is applicablelonggetId()Gets the cardinality rule idintgetMaxInConnections()Gets the maximum number of incoming connections defined by this ruleintgetMaxOutConnections()Gets the maximum number of outgoing connections defined by this rulevoidsetFeatureClassId(long featClassId)Sets the feature class id for which the rule is applicablevoidsetFeatureLayerId(long featLayerId)Sets the feature layer id for which the rule is applicablevoidsetId(long id)Sets the cardinality rule idvoidsetMaxInConnections(int maxInConn)Sets the maximum number of incoming connections defined by this rulevoidsetMaxOutConnections(int maxOutConn)Sets the maximum number of outgoing connections defined by this rule
-
-
-
Field Detail
-
CARDINALITY_UNBOUNDED
public static final int CARDINALITY_UNBOUNDED
No cardinality limit- See Also:
- Constant Field Values
-
-
Method Detail
-
getId
public long getId()
Gets the cardinality rule id- Returns:
- the cardinality rule id
-
setId
public void setId(long id)
Sets the cardinality rule id- Parameters:
id- the cardinality rule id
-
getFeatureLayerId
public long getFeatureLayerId()
Gets the feature layer id for which the rule is applicable- Returns:
- a feature layer id
-
setFeatureLayerId
public void setFeatureLayerId(long featLayerId)
Sets the feature layer id for which the rule is applicable- Parameters:
featLayerId- a feature layer id
-
getFeatureClassId
public long getFeatureClassId()
Gets the feature class id for which the rule is applicable- Returns:
- a point feature class id
-
setFeatureClassId
public void setFeatureClassId(long featClassId)
Sets the feature class id for which the rule is applicable- Parameters:
featClassId- a point feature class id or
-
getMaxInConnections
public int getMaxInConnections()
Gets the maximum number of incoming connections defined by this rule- Returns:
- the maximum number of incoming connections
-
setMaxInConnections
public void setMaxInConnections(int maxInConn)
Sets the maximum number of incoming connections defined by this rule- Parameters:
maxInConn- the maximum number of incoming connections
-
getMaxOutConnections
public int getMaxOutConnections()
Gets the maximum number of outgoing connections defined by this rule- Returns:
- the maximum number of outgoing connections
-
setMaxOutConnections
public void setMaxOutConnections(int maxOutConn)
Sets the maximum number of outgoing connections defined by this rule- Parameters:
maxOutConn- the maximum number of outgoing connections
-
-