Uses of Interface
org.biojava.bio.PropertyConstraint
Packages that use PropertyConstraint
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 PropertyConstraint in org.biojava.bio
Classes in org.biojava.bio that implement PropertyConstraintModifier and TypeClassDescriptionstatic class
A property constraint that accpepts items iff they are accepted by both child constraints.static class
ByAnnotationType
accepts a property value if it belongs to type defined by AnnotationType.static class
ByClass
accepts a property value if it is an instance of a specific Java class.static class
Enumeration
accepts a property if it is present in the specified set of values.static class
Matches properties if they have exactly this one value.static class
A property constraint that accepts items iff they are accepted by either child constraints.Fields in org.biojava.bio declared as PropertyConstraintModifier and TypeFieldDescriptionstatic final PropertyConstraint
PropertyConstraint.ANY
ANY
is a constraint which accepts a property for addition under all conditions.static final PropertyConstraint
PropertyConstraint.NONE
NONE
is a constraint which accepts no value for a property under any condition.Methods in org.biojava.bio that return PropertyConstraintModifier and TypeMethodDescriptionPropertyConstraint.And.getChild1()
Get the first child PropertyConstraint.PropertyConstraint.Or.getChild1()
Get the first child PropertyConstraint.PropertyConstraint.And.getChild2()
Get the seccond child PropertyConstraint.PropertyConstraint.Or.getChild2()
Get the seccond child PropertyConstraint.CollectionConstraint.AllValuesIn.getPropertyConstraint()
Get the PropertyConstraint used to validate each property value.CollectionConstraint.Contains.getPropertyConstraint()
Get the PropertyConstraint used to validate each property value.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.Methods in org.biojava.bio with parameters of type PropertyConstraintModifier and TypeMethodDescriptionstatic PropertyConstraint
AnnotationTools.intersection
(PropertyConstraint pc1, PropertyConstraint pc2) Calculate the intersection of two PropertyConstraint instances.void
AnnotationType.Abstract.setConstraints
(Object key, PropertyConstraint pc, Location cc) void
AnnotationType.setConstraints
(Object key, PropertyConstraint con, Location card) Set the constraints associated with a property.void
AnnotationType.Abstract.setDefaultConstraints
(PropertyConstraint pc, Location cc) void
AnnotationType.setDefaultConstraints
(PropertyConstraint pc, Location cc) Set the constraints that will apply to all properties without an explicitly defined set of constraints.boolean
PropertyConstraint.And.subConstraintOf
(PropertyConstraint pc) boolean
PropertyConstraint.ByAnnotationType.subConstraintOf
(PropertyConstraint subConstraint) boolean
PropertyConstraint.ByClass.subConstraintOf
(PropertyConstraint subConstraint) boolean
PropertyConstraint.Enumeration.subConstraintOf
(PropertyConstraint subConstraint) boolean
PropertyConstraint.ExactValue.subConstraintOf
(PropertyConstraint pc) boolean
PropertyConstraint.Or.subConstraintOf
(PropertyConstraint pc) boolean
PropertyConstraint.subConstraintOf
(PropertyConstraint subConstraint) subConstraintOf
returns true if the constraint is a sub-constraint.static PropertyConstraint
AnnotationTools.union
(PropertyConstraint pc1, PropertyConstraint pc2) Create a PropertyConstraint that matches all Objects that are accepted by two others.Constructors in org.biojava.bio with parameters of type PropertyConstraintModifierConstructorDescriptionAllValuesIn
(PropertyConstraint pc, Location card) Create an AllValuesIn based upon a PropertyConstraint and a cardinality.And
(PropertyConstraint c1, PropertyConstraint c2) Create a newAnd
from two child constraints.Contains
(PropertyConstraint pc, Location card) Create a Contains based upon a PropertyConstraint and a cardinality.Impl
(PropertyConstraint defaultPC, Location defaultCC) Create a new Impl with a default property and cardinality constraint.Or
(PropertyConstraint c1, PropertyConstraint c2) Create a newOr
from two child constraints. -
Uses of PropertyConstraint in org.biojava.bio.seq.io.filterxml
Methods in org.biojava.bio.seq.io.filterxml that return PropertyConstraintModifier and TypeMethodDescriptionXMLAnnotationTypeHandler.PropertyConstraintHandler.getPropertyConstraint()
Methods in org.biojava.bio.seq.io.filterxml with parameters of type PropertyConstraintModifier and TypeMethodDescriptionvoid
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)