Module dev.metaschema.databind
Class AssemblyModel.ChoiceGroup.Field
java.lang.Object
dev.metaschema.databind.model.metaschema.binding.AssemblyModel.ChoiceGroup.Field
- All Implemented Interfaces:
IBoundObject
- Enclosing class:
- AssemblyModel.ChoiceGroup
@MetaschemaAssembly(formalName="Grouping Field Reference",
name="field",
moduleClass=MetaschemaModelModule.class)
public static class AssemblyModel.ChoiceGroup.Field
extends Object
implements IBoundObject
Grouping Field Reference.
-
Constructor Summary
ConstructorsConstructorDescriptionField()Constructs a newdev.metaschema.databind.model.metaschema.binding.AssemblyModel.ChoiceGroup.Fieldinstance with no metadata.Field(IMetaschemaData data) Constructs a newdev.metaschema.databind.model.metaschema.binding.AssemblyModel.ChoiceGroup.Fieldinstance with the specified metadata. -
Method Summary
Modifier and TypeMethodDescriptionbooleanAdd a newPropertyitem to the underlying collection.Get the default Field Value.Get the deprecated Version.Get the description.Get the grouping Discriminator Value.Get the formal Name.getIndex()Get the field Reference Binary Name.getInXml()Get the field In XML.Get additional Metaschema-related information for the object (i.e., resource location).getProps()Get the property.getRef()Get the global Field Reference.Get the remarks.Get the use Name.booleanremoveProp(Property item) Remove the first matchingPropertyitem from the underlying collection.voidsetDefault(String value) Set the default Field Value.voidsetDeprecated(String value) Set the deprecated Version.voidsetDescription(MarkupLine value) Set the description.voidsetDiscriminatorValue(String value) Set the grouping Discriminator Value.voidsetFormalName(String value) Set the formal Name.voidsetIndex(BigInteger value) Set the field Reference Binary Name.voidSet the field In XML.voidSet the property.voidSet the global Field Reference.voidsetRemarks(Remarks value) Set the remarks.voidsetUseName(UseName value) Set the use Name.toString()
-
Constructor Details
-
Field
public Field()Constructs a newdev.metaschema.databind.model.metaschema.binding.AssemblyModel.ChoiceGroup.Fieldinstance with no metadata. -
Field
Constructs a newdev.metaschema.databind.model.metaschema.binding.AssemblyModel.ChoiceGroup.Fieldinstance with the specified metadata.- Parameters:
data- the metaschema data, ornullif none
-
-
Method Details
-
getMetaschemaData
Description copied from interface:IBoundObjectGet additional Metaschema-related information for the object (i.e., resource location).- Specified by:
getMetaschemaDatain interfaceIBoundObject- Returns:
- the Metaschema-related information
-
getRef
Get the global Field Reference.- Returns:
- the ref value
-
setRef
Set the global Field Reference.- Parameters:
value- the ref value to set
-
getIndex
Get the field Reference Binary Name.- Returns:
- the index value, or
nullif not set
-
setIndex
Set the field 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 Field Value.- Returns:
- the default value, or
nullif not set
-
setDefault
Set the default Field Value.- Parameters:
value- the default value to set, ornullto clear
-
getInXml
Get the field In XML.- Returns:
- the in-xml value, or
nullif not set
-
setInXml
Set the field In XML.- Parameters:
value- the in-xml 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
-
getDiscriminatorValue
Get the grouping Discriminator Value.- Returns:
- the discriminator-value value, or
nullif not set
-
setDiscriminatorValue
Set the grouping Discriminator Value.- Parameters:
value- the discriminator-value 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
-