X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=website%2Fdm_javadoc%2Fcompbio%2Fmetadata%2FLimitsManager.html;fp=website%2Fdm_javadoc%2Fcompbio%2Fmetadata%2FLimitsManager.html;h=cbf7e5e3913e3f3be1bcf8e646b3940905247d73;hb=da8c820a7fb2edecb190589f3dc9c362e57a2f24;hp=0000000000000000000000000000000000000000;hpb=0bbebf27d045b1345bc042bdf24ef2e6808df251;p=jabaws.git diff --git a/website/dm_javadoc/compbio/metadata/LimitsManager.html b/website/dm_javadoc/compbio/metadata/LimitsManager.html new file mode 100644 index 0000000..cbf7e5e --- /dev/null +++ b/website/dm_javadoc/compbio/metadata/LimitsManager.html @@ -0,0 +1,363 @@ + + + + + + +LimitsManager + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +compbio.metadata +
+Class LimitsManager<T>

+
+java.lang.Object
+  extended by compbio.metadata.LimitsManager<T>
+
+
+
Type Parameters:
T - executable type
+
+
+
public class LimitsManager<T>
extends java.lang.Object
+ + +

+A collection of Limits +

+ +

+

+
Version:
+
1.0 January 2010
+
Author:
+
pvtroshin
+
See Also:
Limit
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
LimitsManager() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ Limit<T>getDefaultLimit() + +
+           
+ Limit<T>getLimitByName(java.lang.String presetName) + +
+           
+ java.util.List<Limit<T>>getLimits() + +
+           
+ java.lang.StringtoString() + +
+           
+ voidvalidate(PresetManager<T> presets) + +
+          Validate Limits
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+LimitsManager

+
+public LimitsManager()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getLimits

+
+public java.util.List<Limit<T>> getLimits()
+
+
+ +
Returns:
all limits defined for an executable T
+
+
+
+ +

+toString

+
+public java.lang.String toString()
+
+
+
Overrides:
toString in class java.lang.Object
+
+
+
+
+
+
+ +

+getLimitByName

+
+public Limit<T> getLimitByName(java.lang.String presetName)
+
+
+
Parameters:
presetName - +
Returns:
Limit defined for the executable T and presetName. If no limit is + defined for the presetName then default Limit is returned. If + presetName is empty or null than the default Limit will be + returned. If not limit defined for the type T than NULL will be + returned
+
+
+
+ +

+getDefaultLimit

+
+public Limit<T> getDefaultLimit()
+
+
+ +
Returns:
the default Limit for an executable type T
+
+
+
+ +

+validate

+
+public void validate(PresetManager<T> presets)
+              throws javax.xml.bind.ValidationException
+
+
Validate Limits +

+

+
Parameters:
presets - +
Throws: +
javax.xml.bind.ValidationException - if any of the Limit defined is found to be invalid. That is + when + + 1) No default limit is defined + + 2) More than 1 default limit is defined + + 3) Limit's preset name does not match any presets for type T
See Also:
Limit, +Preset
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + +