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 Details

    • Field

      public Field()
      Constructs a new dev.metaschema.databind.model.metaschema.binding.AssemblyModel.ChoiceGroup.Field instance with no metadata.
    • Field

      public Field(IMetaschemaData data)
      Constructs a new dev.metaschema.databind.model.metaschema.binding.AssemblyModel.ChoiceGroup.Field instance with the specified metadata.
      Parameters:
      data - the metaschema data, or null if none
  • Method Details

    • getMetaschemaData

      public IMetaschemaData getMetaschemaData()
      Description copied from interface: IBoundObject
      Get additional Metaschema-related information for the object (i.e., resource location).
      Specified by:
      getMetaschemaData in interface IBoundObject
      Returns:
      the Metaschema-related information
    • getRef

      @NonNull public String getRef()
      Get the global Field Reference.
      Returns:
      the ref value
    • setRef

      public void setRef(@NonNull String value)
      Set the global Field Reference.
      Parameters:
      value - the ref value to set
    • getIndex

      @Nullable public BigInteger getIndex()
      Get the field Reference Binary Name.
      Returns:
      the index value, or null if not set
    • setIndex

      public void setIndex(@Nullable BigInteger value)
      Set the field Reference Binary Name.
      Parameters:
      value - the index value to set, or null to clear
    • getDeprecated

      @Nullable public String getDeprecated()
      Get the deprecated Version.
      Returns:
      the deprecated value, or null if not set
    • setDeprecated

      public void setDeprecated(@Nullable String value)
      Set the deprecated Version.
      Parameters:
      value - the deprecated value to set, or null to clear
    • getDefault

      @Nullable public String getDefault()
      Get the default Field Value.
      Returns:
      the default value, or null if not set
    • setDefault

      public void setDefault(@Nullable String value)
      Set the default Field Value.
      Parameters:
      value - the default value to set, or null to clear
    • getInXml

      @Nullable public String getInXml()
      Get the field In XML.
      Returns:
      the in-xml value, or null if not set
    • setInXml

      public void setInXml(@Nullable String value)
      Set the field In XML.
      Parameters:
      value - the in-xml value to set, or null to clear
    • getFormalName

      @Nullable public String getFormalName()
      Get the formal Name.

      A formal name for the data construct, to be presented in documentation.

      Returns:
      the formal-name value, or null if not set
    • setFormalName

      public void setFormalName(@Nullable String value)
      Set the formal Name.

      A formal name for the data construct, to be presented in documentation.

      Parameters:
      value - the formal-name value to set, or null to clear
    • getDescription

      @Nullable public MarkupLine getDescription()
      Get the description.

      A short description of the data construct's purpose, describing the constructs semantics.

      Returns:
      the description value, or null if not set
    • setDescription

      public void setDescription(@Nullable MarkupLine value)
      Set the description.

      A short description of the data construct's purpose, describing the constructs semantics.

      Parameters:
      value - the description value to set, or null to clear
    • getProps

      @NonNull public List<Property> getProps()
      Get the property.
      Returns:
      the prop value
    • setProps

      public void setProps(@NonNull List<Property> value)
      Set the property.
      Parameters:
      value - the prop value to set
    • addProp

      public boolean addProp(Property item)
      Add a new Property item to the underlying collection.
      Parameters:
      item - the item to add
      Returns:
      true
    • removeProp

      public boolean removeProp(Property item)
      Remove the first matching Property item from the underlying collection.
      Parameters:
      item - the item to remove
      Returns:
      true if the item was removed or false otherwise
    • getUseName

      @Nullable public UseName getUseName()
      Get the use Name.

      Allows the name of the definition to be overridden.

      Returns:
      the use-name value, or null if not set
    • setUseName

      public void setUseName(@Nullable UseName value)
      Set the use Name.

      Allows the name of the definition to be overridden.

      Parameters:
      value - the use-name value to set, or null to clear
    • getDiscriminatorValue

      @Nullable public String getDiscriminatorValue()
      Get the grouping Discriminator Value.
      Returns:
      the discriminator-value value, or null if not set
    • setDiscriminatorValue

      public void setDiscriminatorValue(@Nullable String value)
      Set the grouping Discriminator Value.
      Parameters:
      value - the discriminator-value value to set, or null to clear
    • getRemarks

      @Nullable public Remarks getRemarks()
      Get the remarks.

      Any explanatory or helpful information to be provided about the remarks parent.

      Returns:
      the remarks value, or null if not set
    • setRemarks

      public void setRemarks(@Nullable Remarks value)
      Set the remarks.

      Any explanatory or helpful information to be provided about the remarks parent.

      Parameters:
      value - the remarks value to set, or null to clear
    • toString

      public String toString()
      Overrides:
      toString in class Object