Module dev.metaschema.databind
Class FlagReference
java.lang.Object
dev.metaschema.databind.model.metaschema.binding.FlagReference
- All Implemented Interfaces:
dev.metaschema.core.model.IBoundObject
@MetaschemaAssembly(formalName="Flag Reference",
name="flag-reference",
moduleClass=MetaschemaModelModule.class)
public class FlagReference
extends Object
implements dev.metaschema.core.model.IBoundObject
Flag Reference.
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a newdev.metaschema.databind.model.metaschema.binding.FlagReferenceinstance with no metadata.FlagReference(dev.metaschema.core.model.IMetaschemaData data) Constructs a newdev.metaschema.databind.model.metaschema.binding.FlagReferenceinstance with the specified metadata. -
Method Summary
Modifier and TypeMethodDescriptionbooleanAdd a newPropertyitem to the underlying collection.Get the default Flag Value.Get the deprecated Version.dev.metaschema.core.datatype.markup.MarkupLineGet the description.Get the formal Name.getIndex()Get the flag Reference Binary Name.dev.metaschema.core.model.IMetaschemaDatagetProps()Get the property.getRef()Get the global Flag Reference.Get the remarks.Get the is Flag Required?.Get the use Name.booleanremoveProp(Property item) Remove the first matchingPropertyitem from the underlying collection.voidsetDefault(String value) Set the default Flag Value.voidsetDeprecated(String value) Set the deprecated Version.voidsetDescription(dev.metaschema.core.datatype.markup.MarkupLine value) Set the description.voidsetFormalName(String value) Set the formal Name.voidsetIndex(BigInteger value) Set the flag Reference Binary Name.voidSet the property.voidSet the global Flag Reference.voidsetRemarks(Remarks value) Set the remarks.voidsetRequired(String value) Set the is Flag Required?.voidsetUseName(UseName value) Set the use Name.toString()
-
Constructor Details
-
FlagReference
public FlagReference()Constructs a newdev.metaschema.databind.model.metaschema.binding.FlagReferenceinstance with no metadata. -
FlagReference
Constructs a newdev.metaschema.databind.model.metaschema.binding.FlagReferenceinstance with the specified metadata.- Parameters:
data- the metaschema data, ornullif none
-
-
Method Details
-
getMetaschemaData
- Specified by:
getMetaschemaDatain interfacedev.metaschema.core.model.IBoundObject
-
getRef
Get the global Flag Reference.- Returns:
- the ref value
-
setRef
Set the global Flag Reference.- Parameters:
value- the ref value to set
-
getIndex
Get the flag Reference Binary Name.- Returns:
- the index value, or
nullif not set
-
setIndex
Set the flag Reference Binary Name.- Parameters:
value- the index value to set, ornullto clear
-
getDeprecated
Get the deprecated Version.- Returns:
- the deprecated value, or
nullif not set
-
setDeprecated
Set the deprecated Version.- Parameters:
value- the deprecated value to set, ornullto clear
-
getDefault
Get the default Flag Value.- Returns:
- the default value, or
nullif not set
-
setDefault
Set the default Flag Value.- Parameters:
value- the default value to set, ornullto clear
-
getRequired
Get the is Flag Required?.- Returns:
- the required value, or
nullif not set
-
setRequired
Set the is Flag Required?.- Parameters:
value- the required value to set, ornullto clear
-
getFormalName
Get the formal Name.A formal name for the data construct, to be presented in documentation.
- Returns:
- the formal-name value, or
nullif not set
-
setFormalName
Set the formal Name.A formal name for the data construct, to be presented in documentation.
- Parameters:
value- the formal-name value to set, ornullto clear
-
getDescription
Get the description.A short description of the data construct's purpose, describing the constructs semantics.
- Returns:
- the description value, or
nullif not set
-
setDescription
Set the description.A short description of the data construct's purpose, describing the constructs semantics.
- Parameters:
value- the description value to set, ornullto clear
-
getProps
Get the property.- Returns:
- the prop value
-
setProps
Set the property.- Parameters:
value- the prop value to set
-
addProp
Add a newPropertyitem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeProp
Remove the first matchingPropertyitem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
getUseName
Get the use Name.Allows the name of the definition to be overridden.
- Returns:
- the use-name value, or
nullif not set
-
setUseName
Set the use Name.Allows the name of the definition to be overridden.
- Parameters:
value- the use-name 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
-