|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.fcrepo.client.objecteditor.types.DatastreamBindingRule
public class DatastreamBindingRule
A single rule of a service deployment'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(String key,
String inputLabel,
String inputInstruction,
int min,
int max,
boolean orderMatters,
String[] types)
Initialize a DatastreamBindingRule with all values. |
|
| Method Summary | |
|---|---|
boolean |
accepts(String type)
Does this rule allow the given type? |
String |
getInputInstruction()
Get the input instruction. |
String |
getInputLabel()
Get the input label. |
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. |
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(String key,
String inputLabel,
String inputInstruction,
int min,
int max,
boolean orderMatters,
String[] types)
| Method Detail |
|---|
public boolean accepts(String type)
public String getKey()
public String getInputLabel()
public String getInputInstruction()
public int getMax()
public int getMin()
public boolean orderMatters()
public String[] getTypes()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||