Module dev.metaschema.databind
Class KeyConstraintField
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 Summary
ConstructorsConstructorDescriptionConstructs a newdev.metaschema.databind.model.metaschema.binding.KeyConstraintFieldinstance with no metadata.KeyConstraintField(dev.metaschema.core.model.IMetaschemaData data) Constructs a newdev.metaschema.databind.model.metaschema.binding.KeyConstraintFieldinstance with the specified metadata. -
Method Summary
Modifier and TypeMethodDescriptiondev.metaschema.core.model.IMetaschemaDataGet the key Field Value Pattern.Get the remarks.Get the key Field Value Target.voidsetPattern(String value) Set the key Field Value Pattern.voidsetRemarks(Remarks value) Set the remarks.voidSet the key Field Value Target.toString()
-
Constructor Details
-
KeyConstraintField
public KeyConstraintField()Constructs a newdev.metaschema.databind.model.metaschema.binding.KeyConstraintFieldinstance with no metadata. -
KeyConstraintField
Constructs a newdev.metaschema.databind.model.metaschema.binding.KeyConstraintFieldinstance 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 key Field Value Target.- Returns:
- the target value
-
setTarget
Set the key Field Value Target.- Parameters:
value- the target value to set
-
getPattern
Get the key Field Value Pattern.- Returns:
- the pattern value, or
nullif not set
-
setPattern
Set the key Field Value Pattern.- Parameters:
value- the pattern value to set, ornullto clear
-
getRemarks
Get the remarks.Any explanatory or helpful information to be provided about the remarks parent.
- Returns:
- the remarks value, or
nullif not set
-
setRemarks
Set the remarks.Any explanatory or helpful information to be provided about the remarks parent.
- Parameters:
value- the remarks value to set, ornullto clear
-
toString
-