|
Humboldt Alignment Editor 2.5.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecteu.esdihumboldt.hale.common.schema.model.constraint.type.GeometryType
@Immutable public class GeometryType
Specifies the geometry type for properties with a GeometryProperty
binding.
Constructor Summary | |
---|---|
GeometryType()
Creates a default geometry constraint classifying the type as being no geometry type. |
|
GeometryType(TypeDefinition type)
Creates a geometry type constraint that determines the geometry binding from the given type definition. |
Method Summary | |
---|---|
static GeometryType |
get(Class<? extends com.vividsolutions.jts.geom.Geometry> binding)
Get the geometry type constraint with the given JTS geometry binding. |
Class<? extends com.vividsolutions.jts.geom.Geometry> |
getBinding()
Get the geometry binding of the type. |
boolean |
isGeometry()
Specifies if the type the constraint is associated to is a geometry type (meaning it has a GeometryProperty or Geometry value). |
boolean |
isInheritable()
Determines if the constraint is inheritable, meaning it may be used for a sub-type. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GeometryType()
Constraint
public GeometryType(TypeDefinition type)
type
- the type definitionMethod Detail |
---|
public static GeometryType get(Class<? extends com.vividsolutions.jts.geom.Geometry> binding)
binding
- the type's geometry binding
public Class<? extends com.vividsolutions.jts.geom.Geometry> getBinding()
null
if it is no geometryisGeometry()
public boolean isGeometry()
GeometryProperty
or Geometry
value).
public boolean isInheritable()
TypeConstraint
isInheritable
in interface TypeConstraint
TypeConstraint.isInheritable()
|
Humboldt Alignment Editor 2.5.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |