Module dev.metaschema.databind
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
@MetaschemaAssembly(name="flag",
moduleClass=MetaschemaModelModule.class)
public static class MetaschemaModuleConstraints.Scope.Flag
extends Object
implements IValueConstraintsBase
A binding class for the
flag definition.-
Constructor Summary
ConstructorsConstructorDescriptionFlag()Constructs a newdev.metaschema.databind.model.metaschema.binding.MetaschemaModuleConstraints.Scope.Flaginstance with no metadata.Flag(dev.metaschema.core.model.IMetaschemaData data) Constructs a newdev.metaschema.databind.model.metaschema.binding.MetaschemaModuleConstraints.Scope.Flaginstance with the specified metadata. -
Method Summary
Modifier and TypeMethodDescriptiondev.metaschema.core.model.IMetaschemaDataList<? extends IConstraintBase>getRules()Get theruleschoice group items.Get the constraint Target Metapath Expression.voidsetRules(List<? extends IConstraintBase> value) Set theruleschoice group items.voidSet the constraint Target Metapath Expression.toString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface dev.metaschema.databind.model.metaschema.IValueConstraintsBase
getLets
-
Constructor Details
-
Flag
public Flag()Constructs a newdev.metaschema.databind.model.metaschema.binding.MetaschemaModuleConstraints.Scope.Flaginstance with no metadata. -
Flag
Constructs a newdev.metaschema.databind.model.metaschema.binding.MetaschemaModuleConstraints.Scope.Flaginstance with the specified metadata.- Parameters:
data- the metaschema data, ornullif none
-
-
Method Details
-
getMetaschemaData
- Specified by:
getMetaschemaDatain interfacedev.metaschema.core.model.IBoundObject
-
getTarget
Get the constraint Target Metapath Expression.- Returns:
- the target value
-
setTarget
Set the constraint Target Metapath Expression.- Parameters:
value- the target value to set
-
getRules
Get theruleschoice group items.Items in this collection implement
IConstraintBase.- Specified by:
getRulesin interfaceIValueConstraintsBase- Returns:
- the rules items
-
setRules
Set theruleschoice group items.Items in this collection must implement
IConstraintBase.- Parameters:
value- the rules items to set
-
toString
-