fedora.server.storage.types
Class BMechDSBindRule
java.lang.Object
fedora.server.storage.types.BMechDSBindRule
public class BMechDSBindRule
- extends java.lang.Object
A datastream binding rule.
- Version:
- $Id: BMechDSBindRule.java 3966 2005-04-21 13:33:01Z rlw $
- Author:
- payette@cs.cornell.edu
|
Method Summary |
java.lang.String |
describeAllowedMimeTypes()
In human readable string, describe which mime types are allowed. |
java.lang.String |
validate(java.util.List augBindings)
Validate the given DSBindingAugmented objects against the min/max
and mime type constraints of this rule. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
bindingKeyName
public java.lang.String bindingKeyName
minNumBindings
public int minNumBindings
maxNumBindings
public int maxNumBindings
ordinality
public boolean ordinality
bindingLabel
public java.lang.String bindingLabel
bindingInstruction
public java.lang.String bindingInstruction
bindingMIMETypes
public java.lang.String[] bindingMIMETypes
BMechDSBindRule
public BMechDSBindRule()
describeAllowedMimeTypes
public java.lang.String describeAllowedMimeTypes()
- In human readable string, describe which mime types are allowed.
validate
public java.lang.String validate(java.util.List augBindings)
- Validate the given DSBindingAugmented objects against the min/max
and mime type constraints of this rule.
If the rule is satisfied, return null.
Otherwise, return a string explaining the problem.