Uses of Interface
org.biojava.bio.CollectionConstraint
Packages that use CollectionConstraint
Package
Description
The core classes that will be used throughout the bio packages.
Tools for reading and writing an XML representation of BioJava's FeatureFilter language.
-
Uses of CollectionConstraint in org.biojava.bio
Classes in org.biojava.bio that implement CollectionConstraintModifier and TypeClassDescriptionstatic class
CollectionConstraint which validates all members of a Collection.static class
A collection constraint that accpepts collections iff they are accepted by both child constraints.static class
CollectionConstraint which validates a portion of a Collection.static class
A collection constraint that accepts items iff they are accepted by either child constraints.Fields in org.biojava.bio declared as CollectionConstraintModifier and TypeFieldDescriptionstatic final CollectionConstraint
CollectionConstraint.ANY
ANY
is a constraint which accepts a property for addition under all conditions.static final CollectionConstraint
CollectionConstraint.EMPTY
EMPTY
is a constraint which only accepts the empty set.static final CollectionConstraint
CollectionConstraint.NONE
NONE
is a constraint which accepts no value for a property under any condition.Methods in org.biojava.bio that return CollectionConstraintModifier and TypeMethodDescriptionCollectionConstraint.And.getChild1()
Get the first child CollectionConstraint.CollectionConstraint.Or.getChild1()
Get the first child CollectionConstraint.CollectionConstraint.And.getChild2()
Get the seccond child CollectionConstraint.CollectionConstraint.Or.getChild2()
Get the seccond child CollectionConstraint.AnnotationType.getConstraint
(Object key) Retrieve the constraint that will be applied to all properties with a given key.AnnotationType.Impl.getConstraint
(Object key) AnnotationType.getDefaultConstraint()
Get the CollectionConstraint that will be applied to all properties without an explicit binding.AnnotationType.Impl.getDefaultConstraint()
static CollectionConstraint
AnnotationTools.intersection
(CollectionConstraint cc1, CollectionConstraint cc2) Return the CollectionConstraint which accept only collections accepted by both of those specified.static CollectionConstraint
AnnotationTools.union
(CollectionConstraint cc1, CollectionConstraint cc2) Calculate a CollectionConstaint that will accept all items accepted by either constraint.Methods in org.biojava.bio with parameters of type CollectionConstraintModifier and TypeMethodDescriptionstatic CollectionConstraint
AnnotationTools.intersection
(CollectionConstraint cc1, CollectionConstraint cc2) Return the CollectionConstraint which accept only collections accepted by both of those specified.void
AnnotationType.Impl.setConstraint
(Object key, CollectionConstraint cc) void
AnnotationType.setConstraint
(Object key, CollectionConstraint con) Specifies the constraint to apply to the specified property.void
AnnotationType.Impl.setDefaultConstraint
(CollectionConstraint cc) void
AnnotationType.setDefaultConstraint
(CollectionConstraint cc) Specifies the default constraint to apply to properties where no other constraint is specified.boolean
CollectionConstraint.AllValuesIn.subConstraintOf
(CollectionConstraint cc) boolean
CollectionConstraint.And.subConstraintOf
(CollectionConstraint pc) boolean
CollectionConstraint.Contains.subConstraintOf
(CollectionConstraint cc) boolean
CollectionConstraint.Or.subConstraintOf
(CollectionConstraint pc) boolean
CollectionConstraint.subConstraintOf
(CollectionConstraint subConstraint) subConstraintOf
returns true if the constraint is a sub-constraint.static CollectionConstraint
AnnotationTools.union
(CollectionConstraint cc1, CollectionConstraint cc2) Calculate a CollectionConstaint that will accept all items accepted by either constraint.Constructors in org.biojava.bio with parameters of type CollectionConstraintModifierConstructorDescriptionCreate a newAnd
from two child constraints.Impl
(CollectionConstraint unknown) Create a new Impl with a default collection constraint.Create a newOr
from two child constraints. -
Uses of CollectionConstraint in org.biojava.bio.seq.io.filterxml
Methods in org.biojava.bio.seq.io.filterxml that return CollectionConstraintModifier and TypeMethodDescriptionXMLAnnotationTypeHandler.CollectionConstraintHandler.getCollectionConstraint()
Methods in org.biojava.bio.seq.io.filterxml with parameters of type CollectionConstraintModifier and TypeMethodDescriptionvoid
XMLAnnotationTypeWriter.addXMLCollectionConstraintWriter
(CollectionConstraint pc, XMLAnnotationTypeWriter.XMLCollectionConstraintWriter xfw) Register a writer for a singleton property constraint.void
XMLAnnotationTypeWriter.XMLCollectionConstraintWriter.writeCollectionConstraint
(CollectionConstraint pc, XMLWriter xw, XMLAnnotationTypeWriter config)