Class MetaschemaModuleConstraints.Scope.Flag

java.lang.Object
dev.metaschema.databind.model.metaschema.binding.MetaschemaModuleConstraints.Scope.Flag
All Implemented Interfaces:
dev.metaschema.core.model.IBoundObject, IValueConstraintsBase
Enclosing class:
MetaschemaModuleConstraints.Scope

A binding class for the flag definition.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Constructs a new dev.metaschema.databind.model.metaschema.binding.MetaschemaModuleConstraints.Scope.Flag instance with no metadata.
    Flag(dev.metaschema.core.model.IMetaschemaData data)
    Constructs a new dev.metaschema.databind.model.metaschema.binding.MetaschemaModuleConstraints.Scope.Flag instance with the specified metadata.
  • Method Summary

    Modifier and Type
    Method
    Description
    dev.metaschema.core.model.IMetaschemaData
     
    Get the rules choice group items.
    Get the constraint Target Metapath Expression.
    void
    setRules(List<? extends IConstraintBase> value)
    Set the rules choice group items.
    void
    Set the constraint Target Metapath Expression.
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface dev.metaschema.databind.model.metaschema.IValueConstraintsBase

    getLets
  • Constructor Details

    • Flag

      public Flag()
      Constructs a new dev.metaschema.databind.model.metaschema.binding.MetaschemaModuleConstraints.Scope.Flag instance with no metadata.
    • Flag

      public Flag(dev.metaschema.core.model.IMetaschemaData data)
      Constructs a new dev.metaschema.databind.model.metaschema.binding.MetaschemaModuleConstraints.Scope.Flag 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 constraint Target Metapath Expression.
      Returns:
      the target value
    • setTarget

      public void setTarget(@NonNull String value)
      Set the constraint Target Metapath Expression.
      Parameters:
      value - the target value to set
    • getRules

      @NonNull public List<? extends IConstraintBase> getRules()
      Get the rules choice group items.

      Items in this collection implement IConstraintBase.

      Specified by:
      getRules in interface IValueConstraintsBase
      Returns:
      the rules items
    • setRules

      public void setRules(@NonNull List<? extends IConstraintBase> value)
      Set the rules choice group items.

      Items in this collection must implement IConstraintBase.

      Parameters:
      value - the rules items to set
    • toString

      public String toString()
      Overrides:
      toString in class Object