Uses of Interface
org.biojava.bio.PropertyConstraint
-
Packages that use PropertyConstraint 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 PropertyConstraint in org.biojava.bio
Classes in org.biojava.bio that implement PropertyConstraint Modifier and Type Class Description 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 Modifier and Type Field Description 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 Modifier and Type Method Description PropertyConstraint
PropertyConstraint.And. getChild1()
Get the first child PropertyConstraint.PropertyConstraint
PropertyConstraint.Or. getChild1()
Get the first child PropertyConstraint.PropertyConstraint
PropertyConstraint.And. getChild2()
Get the seccond child PropertyConstraint.PropertyConstraint
PropertyConstraint.Or. getChild2()
Get the seccond child PropertyConstraint.PropertyConstraint
CollectionConstraint.AllValuesIn. getPropertyConstraint()
Get the PropertyConstraint used to validate each property value.PropertyConstraint
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 PropertyConstraint Modifier and Type Method Description static 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 PropertyConstraint Constructor Description AllValuesIn(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 PropertyConstraint Modifier and Type Method Description PropertyConstraint
XMLAnnotationTypeHandler.PropertyConstraintHandler. getPropertyConstraint()
Methods in org.biojava.bio.seq.io.filterxml with parameters of type PropertyConstraint Modifier and Type Method Description 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)
-