Uses of Interface
org.biojava.bio.CollectionConstraint
-
Packages that use CollectionConstraint Package Description org.biojava.bio The core classes that will be used throughout the bio packages.org.biojava.bio.seq.io.filterxml 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 CollectionConstraint Modifier and Type Class Description static classCollectionConstraint.AllValuesInCollectionConstraint which validates all members of a Collection.static classCollectionConstraint.AndA collection constraint that accpepts collections iff they are accepted by both child constraints.static classCollectionConstraint.ContainsCollectionConstraint which validates a portion of a Collection.static classCollectionConstraint.OrA collection constraint that accepts items iff they are accepted by either child constraints.Fields in org.biojava.bio declared as CollectionConstraint Modifier and Type Field Description static CollectionConstraintCollectionConstraint. ANYANYis a constraint which accepts a property for addition under all conditions.static CollectionConstraintCollectionConstraint. EMPTYEMPTYis a constraint which only accepts the empty set.static CollectionConstraintCollectionConstraint. NONENONEis a constraint which accepts no value for a property under any condition.Methods in org.biojava.bio that return CollectionConstraint Modifier and Type Method Description CollectionConstraintCollectionConstraint.And. getChild1()Get the first child CollectionConstraint.CollectionConstraintCollectionConstraint.Or. getChild1()Get the first child CollectionConstraint.CollectionConstraintCollectionConstraint.And. getChild2()Get the seccond child CollectionConstraint.CollectionConstraintCollectionConstraint.Or. getChild2()Get the seccond child CollectionConstraint.CollectionConstraintAnnotationType. getConstraint(Object key)Retrieve the constraint that will be applied to all properties with a given key.CollectionConstraintAnnotationType.Impl. getConstraint(Object key)CollectionConstraintAnnotationType. getDefaultConstraint()Get the CollectionConstraint that will be applied to all properties without an explicit binding.CollectionConstraintAnnotationType.Impl. getDefaultConstraint()static CollectionConstraintAnnotationTools. intersection(CollectionConstraint cc1, CollectionConstraint cc2)Return the CollectionConstraint which accept only collections accepted by both of those specified.static CollectionConstraintAnnotationTools. 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 CollectionConstraint Modifier and Type Method Description static CollectionConstraintAnnotationTools. intersection(CollectionConstraint cc1, CollectionConstraint cc2)Return the CollectionConstraint which accept only collections accepted by both of those specified.voidAnnotationType.Impl. setConstraint(Object key, CollectionConstraint cc)voidAnnotationType. setConstraint(Object key, CollectionConstraint con)Specifies the constraint to apply to the specified property.voidAnnotationType.Impl. setDefaultConstraint(CollectionConstraint cc)voidAnnotationType. setDefaultConstraint(CollectionConstraint cc)Specifies the default constraint to apply to properties where no other constraint is specified.booleanCollectionConstraint.AllValuesIn. subConstraintOf(CollectionConstraint cc)booleanCollectionConstraint.And. subConstraintOf(CollectionConstraint pc)booleanCollectionConstraint.Contains. subConstraintOf(CollectionConstraint cc)booleanCollectionConstraint.Or. subConstraintOf(CollectionConstraint pc)booleanCollectionConstraint. subConstraintOf(CollectionConstraint subConstraint)subConstraintOfreturns true if the constraint is a sub-constraint.static CollectionConstraintAnnotationTools. 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 CollectionConstraint Constructor Description And(CollectionConstraint c1, CollectionConstraint c2)Create a newAndfrom two child constraints.Impl(CollectionConstraint unknown)Create a new Impl with a default collection constraint.Or(CollectionConstraint c1, CollectionConstraint c2)Create a newOrfrom two child constraints. -
Uses of CollectionConstraint in org.biojava.bio.seq.io.filterxml
Methods in org.biojava.bio.seq.io.filterxml that return CollectionConstraint Modifier and Type Method Description CollectionConstraintXMLAnnotationTypeHandler.CollectionConstraintHandler. getCollectionConstraint()Methods in org.biojava.bio.seq.io.filterxml with parameters of type CollectionConstraint Modifier and Type Method Description voidXMLAnnotationTypeWriter. addXMLCollectionConstraintWriter(CollectionConstraint pc, XMLAnnotationTypeWriter.XMLCollectionConstraintWriter xfw)Register a writer for a singleton property constraint.voidXMLAnnotationTypeWriter.XMLCollectionConstraintWriter. writeCollectionConstraint(CollectionConstraint pc, XMLWriter xw, XMLAnnotationTypeWriter config)
-