Class Boolean

java.lang.Object
gov.niem.niem.proxy.xsd._2.Boolean

public class Boolean extends Object
A data type for binary-valued logic (true/false).

Java class for boolean complex type

.

The following schema fragment specifies the expected content contained within this class.


 <complexType name="boolean">
   <simpleContent>
     <extension base="<http://www.w3.org/2001/XMLSchema>boolean">
       <attGroup ref="{http://niem.gov/niem/structures/2.0}SimpleObjectAttributeGroup"/>
     </extension>
   </simpleContent>
 </complexType>
 
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected String
    The id attribute is used to define XML IDs for NIEM objects.
    protected List<Object>
    The linkMetadata attribute allows an element to point to metadata that affects the relationship between the context and the value of the object.
    protected List<Object>
    The attribute metadata allows an object to point to metadata that affects itself.
    protected boolean
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    The id attribute is used to define XML IDs for NIEM objects.
    The linkMetadata attribute allows an element to point to metadata that affects the relationship between the context and the value of the object.
    The attribute metadata allows an object to point to metadata that affects itself.
    boolean
    Gets the value of the value property.
    void
    setId(String value)
    Sets the value of the id property.
    void
    setValue(boolean value)
    Sets the value of the value property.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • value

      protected boolean value
    • id

      protected String id
      The id attribute is used to define XML IDs for NIEM objects. These IDs may be targets of reference elements, metadata attributes, and link metadata attributes.
    • metadata

      protected List<Object> metadata
      The attribute metadata allows an object to point to metadata that affects itself.
    • linkMetadata

      protected List<Object> linkMetadata
      The linkMetadata attribute allows an element to point to metadata that affects the relationship between the context and the value of the object.
  • Constructor Details

    • Boolean

      public Boolean()
  • Method Details

    • isValue

      public boolean isValue()
      Gets the value of the value property.
    • setValue

      public void setValue(boolean value)
      Sets the value of the value property.
    • getId

      public String getId()
      The id attribute is used to define XML IDs for NIEM objects. These IDs may be targets of reference elements, metadata attributes, and link metadata attributes.
      Returns:
      possible object is String
    • setId

      public void setId(String value)
      Sets the value of the id property.
      Parameters:
      value - allowed object is String
      See Also:
    • getMetadata

      public List<Object> getMetadata()
      The attribute metadata allows an object to point to metadata that affects itself. Gets the value of the metadata property.

      This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the metadata property.

      For example, to add a new item, do as follows:

       getMetadata().add(newItem);
       

      Objects of the following type(s) are allowed in the list Object

      Returns:
      The value of the metadata property.
    • getLinkMetadata

      public List<Object> getLinkMetadata()
      The linkMetadata attribute allows an element to point to metadata that affects the relationship between the context and the value of the object. Gets the value of the linkMetadata property.

      This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the linkMetadata property.

      For example, to add a new item, do as follows:

       getLinkMetadata().add(newItem);
       

      Objects of the following type(s) are allowed in the list Object

      Returns:
      The value of the linkMetadata property.