Uses of Interface
org.biojava.bio.PropertyConstraint

Packages that use PropertyConstraint
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 PropertyConstraint in org.biojava.bio
 

Classes in org.biojava.bio that implement PropertyConstraint
static class PropertyConstraint.And
          A property constraint that accpepts items iff they are accepted by both child constraints.
static class PropertyConstraint.ByAnnotationType
          ByAnnotationType accepts a property value if it belongs to type defined by AnnotationType.
static class PropertyConstraint.ByClass
          ByClass accepts a property value if it is an instance of a specific Java class.
static class PropertyConstraint.Enumeration
          Enumeration accepts a property if it is present in the specified set of values.
static class PropertyConstraint.ExactValue
          Matches properties if they have exactly this one value.
static class PropertyConstraint.Or
          A property constraint that accepts items iff they are accepted by either child constraints.
 

Fields in org.biojava.bio declared as PropertyConstraint
static PropertyConstraint PropertyConstraint.ANY
          ANY is a constraint which accepts a property for addition under all conditions.
static PropertyConstraint PropertyConstraint.NONE
          NONE is a constraint which accepts no value for a property under any condition.
 

Methods in org.biojava.bio that return PropertyConstraint
static PropertyConstraint AnnotationTools.intersection(PropertyConstraint pc1, PropertyConstraint pc2)
          Calculate the intersection of two PropertyConstraint instances.
static PropertyConstraint AnnotationTools.union(PropertyConstraint pc1, PropertyConstraint pc2)
          Create a PropertyConstraint that matches all Objects that are accepted by two others.
 PropertyConstraint CollectionConstraint.AllValuesIn.getPropertyConstraint()
           
 PropertyConstraint CollectionConstraint.Contains.getPropertyConstraint()
           
 PropertyConstraint PropertyConstraint.And.getChild1()
          Get the first child PropertyConstraint.
 PropertyConstraint PropertyConstraint.And.getChild2()
          Get the seccond child PropertyConstraint.
 PropertyConstraint PropertyConstraint.Or.getChild1()
          Get the first child PropertyConstraint.
 PropertyConstraint PropertyConstraint.Or.getChild2()
          Get the seccond child PropertyConstraint.
 

Methods in org.biojava.bio with parameters of type PropertyConstraint
 void AnnotationType.setConstraints(java.lang.Object key, PropertyConstraint con, Location card)
          Set the constraints associated with a property.
 void AnnotationType.setDefaultConstraints(PropertyConstraint pc, Location cc)
          Set the constraints that will apply to all properties without an explicitly defined set of constraints.
 void AnnotationType.Abstract.setConstraints(java.lang.Object key, PropertyConstraint pc, Location cc)
           
 void AnnotationType.Abstract.setDefaultConstraints(PropertyConstraint pc, Location cc)
           
static PropertyConstraint AnnotationTools.intersection(PropertyConstraint pc1, PropertyConstraint pc2)
          Calculate the intersection of two PropertyConstraint instances.
static PropertyConstraint AnnotationTools.union(PropertyConstraint pc1, PropertyConstraint pc2)
          Create a PropertyConstraint that matches all Objects that are accepted by two others.
 boolean PropertyConstraint.subConstraintOf(PropertyConstraint subConstraint)
          subConstraintOf returns true if the constraint is a sub-constraint.
 boolean PropertyConstraint.ByClass.subConstraintOf(PropertyConstraint subConstraint)
           
 boolean PropertyConstraint.ByAnnotationType.subConstraintOf(PropertyConstraint subConstraint)
           
 boolean PropertyConstraint.ExactValue.subConstraintOf(PropertyConstraint pc)
           
 boolean PropertyConstraint.Enumeration.subConstraintOf(PropertyConstraint subConstraint)
           
 boolean PropertyConstraint.And.subConstraintOf(PropertyConstraint pc)
           
 boolean PropertyConstraint.Or.subConstraintOf(PropertyConstraint pc)
           
 

Constructors in org.biojava.bio with parameters of type PropertyConstraint
AnnotationType.Impl(PropertyConstraint defaultPC, Location defaultCC)
          Create a new Impl with a default property and cardinality constraint.
CollectionConstraint.AllValuesIn(PropertyConstraint pc, Location card)
           
CollectionConstraint.Contains(PropertyConstraint pc, Location card)
           
PropertyConstraint.And(PropertyConstraint c1, PropertyConstraint c2)
          Create a new And from two child constraints.
PropertyConstraint.Or(PropertyConstraint c1, PropertyConstraint c2)
          Create a new Or from two child constraints.
 

Uses of PropertyConstraint in org.biojava.bio.seq.io.filterxml
 

Methods in org.biojava.bio.seq.io.filterxml that return PropertyConstraint
 PropertyConstraint XMLAnnotationTypeHandler.PropertyConstraintHandler.getPropertyConstraint()
           
 

Methods in org.biojava.bio.seq.io.filterxml with parameters of type PropertyConstraint
 void XMLAnnotationTypeWriter.addXMLPropertyConstraintWriter(PropertyConstraint pc, XMLAnnotationTypeWriter.XMLPropertyConstraintWriter xfw)
          Register a writer for a singleton property constraint.
 void XMLAnnotationTypeWriter.XMLPropertyConstraintWriter.writePropertyConstraint(PropertyConstraint pc, XMLWriter xw, XMLAnnotationTypeWriter config)