Class NFECardinalityRule
- java.lang.Object
-
- oracle.spatial.network.nfe.model.rule.NFECardinalityRule
-
public class NFECardinalityRule extends java.lang.Object
Represents a cardinality rule associated to a feature layer and (optionally) a point feature class
-
-
Field Summary
Fields Modifier and Type Field Description static int
CARDINALITY_UNBOUNDED
No 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 long
getFeatureClassId()
Gets the feature class id for which the rule is applicablelong
getFeatureLayerId()
Gets the feature layer id for which the rule is applicablelong
getId()
Gets the cardinality rule idint
getMaxInConnections()
Gets the maximum number of incoming connections defined by this ruleint
getMaxOutConnections()
Gets the maximum number of outgoing connections defined by this rulevoid
setFeatureClassId(long featClassId)
Sets the feature class id for which the rule is applicablevoid
setFeatureLayerId(long featLayerId)
Sets the feature layer id for which the rule is applicablevoid
setId(long id)
Sets the cardinality rule idvoid
setMaxInConnections(int maxInConn)
Sets the maximum number of incoming connections defined by this rulevoid
setMaxOutConnections(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
-
-