|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfedora.client.objecteditor.types.DatastreamBindingRule
public class DatastreamBindingRule
A single rule of a behavior mechanism's datastream binding specification. For a certain binding key (the "key" of the rule), a rule specifies a range indicating the number of datastreams to be bound, whether order is important, and the types of datastreams that may be bound.
| Constructor Summary | |
|---|---|
DatastreamBindingRule(java.lang.String key,
java.lang.String inputLabel,
java.lang.String inputInstruction,
int min,
int max,
boolean orderMatters,
java.lang.String[] types)
Initialize a DatastreamBindingRule with all values. |
|
| Method Summary | |
|---|---|
boolean |
accepts(java.lang.String type)
Does this rule allow the given type? |
java.lang.String |
getInputInstruction()
Get the input instruction. |
java.lang.String |
getInputLabel()
Get the input label. |
java.lang.String |
getKey()
Get the key of the rule. |
int |
getMax()
Get the maximum number of datastreams that can be bound. |
int |
getMin()
Get the minimum number of datastreams that can be bound. |
java.lang.String[] |
getTypes()
Get the type list. |
boolean |
orderMatters()
Does order matter? |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DatastreamBindingRule(java.lang.String key,
java.lang.String inputLabel,
java.lang.String inputInstruction,
int min,
int max,
boolean orderMatters,
java.lang.String[] types)
| Method Detail |
|---|
public boolean accepts(java.lang.String type)
public java.lang.String getKey()
public java.lang.String getInputLabel()
public java.lang.String getInputInstruction()
public int getMax()
public int getMin()
public boolean orderMatters()
public java.lang.String[] getTypes()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||