public class NFECardinalityRule
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
CARDINALITY_UNBOUNDED
No cardinality limit
|
Constructor and Description |
---|
NFECardinalityRule(long id)
Allocates a new cardinality rule
|
Modifier and Type | Method and Description |
---|---|
long |
getFeatureClassId()
Gets the feature class id for which the rule is applicable
|
long |
getFeatureLayerId()
Gets the feature layer id for which the rule is applicable
|
long |
getId()
Gets the cardinality rule id
|
int |
getMaxInConnections()
Gets the maximum number of incoming connections defined by this rule
|
int |
getMaxOutConnections()
Gets the maximum number of outgoing connections defined by this rule
|
void |
setFeatureClassId(long featClassId)
Sets the feature class id for which the rule is applicable
|
void |
setFeatureLayerId(long featLayerId)
Sets the feature layer id for which the rule is applicable
|
void |
setId(long id)
Sets the cardinality rule id
|
void |
setMaxInConnections(int maxInConn)
Sets the maximum number of incoming connections defined by this rule
|
void |
setMaxOutConnections(int maxOutConn)
Sets the maximum number of outgoing connections defined by this rule
|
public static final int CARDINALITY_UNBOUNDED
public NFECardinalityRule(long id)
id
- the cardinality rule idpublic long getId()
public void setId(long id)
id
- the cardinality rule idpublic long getFeatureLayerId()
public void setFeatureLayerId(long featLayerId)
featLayerId
- a feature layer idpublic long getFeatureClassId()
public void setFeatureClassId(long featClassId)
featClassId
- a point feature class id orpublic int getMaxInConnections()
public void setMaxInConnections(int maxInConn)
maxInConn
- the maximum number of incoming connectionspublic int getMaxOutConnections()
public void setMaxOutConnections(int maxOutConn)
maxOutConn
- the maximum number of outgoing connections