java.lang.Object
dev.metaschema.databind.model.metaschema.binding.KeyConstraintField
All Implemented Interfaces:
dev.metaschema.core.model.IBoundObject

@MetaschemaAssembly(formalName="Key Constraint", name="key-constraint-field", moduleClass=MetaschemaModelModule.class) public class KeyConstraintField extends Object implements dev.metaschema.core.model.IBoundObject
Key Constraint.
  • Constructor Details

    • KeyConstraintField

      Constructs a new dev.metaschema.databind.model.metaschema.binding.KeyConstraintField instance with no metadata.
    • KeyConstraintField

      public KeyConstraintField(dev.metaschema.core.model.IMetaschemaData data)
      Constructs a new dev.metaschema.databind.model.metaschema.binding.KeyConstraintField instance with the specified metadata.
      Parameters:
      data - the metaschema data, or null if none
  • Method Details

    • getMetaschemaData

      public dev.metaschema.core.model.IMetaschemaData getMetaschemaData()
      Specified by:
      getMetaschemaData in interface dev.metaschema.core.model.IBoundObject
    • getTarget

      @NonNull public String getTarget()
      Get the key Field Value Target.
      Returns:
      the target value
    • setTarget

      public void setTarget(@NonNull String value)
      Set the key Field Value Target.
      Parameters:
      value - the target value to set
    • getPattern

      @Nullable public String getPattern()
      Get the key Field Value Pattern.
      Returns:
      the pattern value, or null if not set
    • setPattern

      public void setPattern(@Nullable String value)
      Set the key Field Value Pattern.
      Parameters:
      value - the pattern value to set, or null to clear
    • getRemarks

      @Nullable public Remarks getRemarks()
      Get the remarks.

      Any explanatory or helpful information to be provided about the remarks parent.

      Returns:
      the remarks value, or null if not set
    • setRemarks

      public void setRemarks(@Nullable Remarks value)
      Set the remarks.

      Any explanatory or helpful information to be provided about the remarks parent.

      Parameters:
      value - the remarks value to set, or null to clear
    • toString

      public String toString()
      Overrides:
      toString in class Object