Interface HasConstraints<ConstraintType extends DataConstraint>

All Known Subinterfaces:
Category, CategoryOrRange, CategoryRange, Count, CountOrRange, CountRange, GeometryData, Quantity, QuantityOrRange, QuantityRange, Text, Time, TimeOrRange, TimeRange
All Known Implementing Classes:
CategoryImpl, CategoryRangeImpl, CountImpl, CountRangeImpl, GeometryDataImpl, QuantityImpl, QuantityRangeImpl, TextImpl, TimeImpl, TimeRangeImpl

public interface HasConstraints<ConstraintType extends DataConstraint>

Tagging interface for data components with constraints

Since:
Nov 8, 2014
  • Method Details

    • getConstraint

      ConstraintType getConstraint()
      Gets the constraint property
    • getConstraintProperty

      OgcProperty<ConstraintType> getConstraintProperty()
      Gets extra info (name, xlink, etc.) carried by the constraint property
    • isSetConstraint

      boolean isSetConstraint()
      Checks if constraint is set
    • setConstraint

      void setConstraint(ConstraintType constraint)
      Sets the constraint property