Module dev.metaschema.databind
Class FieldReference
java.lang.Object
dev.metaschema.databind.model.metaschema.binding.FieldReference
- All Implemented Interfaces:
IBoundObject
@MetaschemaAssembly(formalName="Field Reference",
name="field-reference",
moduleClass=MetaschemaModelModule.class)
public class FieldReference
extends Object
implements IBoundObject
Field Reference.
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a newdev.metaschema.databind.model.metaschema.binding.FieldReferenceinstance with no metadata.Constructs a newdev.metaschema.databind.model.metaschema.binding.FieldReferenceinstance 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 formal Name.Get the group As.getIndex()Get the field Reference Binary Name.getInXml()Get the field In XML.Get the maximum Occurrence.Get additional Metaschema-related information for the object (i.e., resource location).Get the minimum Occurrence.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.voidsetFormalName(String value) Set the formal Name.voidsetGroupAs(GroupingAs value) Set the group As.voidsetIndex(BigInteger value) Set the field Reference Binary Name.voidSet the field In XML.voidsetMaxOccurs(String value) Set the maximum Occurrence.voidsetMinOccurs(BigInteger value) Set the minimum Occurrence.voidSet the property.voidSet the global Field Reference.voidsetRemarks(Remarks value) Set the remarks.voidsetUseName(UseName value) Set the use Name.toString()
-
Constructor Details
-
FieldReference
public FieldReference()Constructs a newdev.metaschema.databind.model.metaschema.binding.FieldReferenceinstance with no metadata. -
FieldReference
Constructs a newdev.metaschema.databind.model.metaschema.binding.FieldReferenceinstance 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
-
getMinOccurs
Get the minimum Occurrence.- Returns:
- the min-occurs value, or
nullif not set
-
setMinOccurs
Set the minimum Occurrence.- Parameters:
value- the min-occurs value to set, ornullto clear
-
getMaxOccurs
Get the maximum Occurrence.- Returns:
- the max-occurs value, or
nullif not set
-
setMaxOccurs
Set the maximum Occurrence.- Parameters:
value- the max-occurs 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
-
getGroupAs
Get the group As.- Returns:
- the group-as value, or
nullif not set
-
setGroupAs
Set the group As.- Parameters:
value- the group-as 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
-