Class DocumentType.Attributes.Attribute

  • All Implemented Interfaces:
    Serializable
    Enclosing class:
    DocumentType.Attributes

    public static class DocumentType.Attributes.Attribute
    extends Object
    implements Serializable

    Java class for anonymous complex type.

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

     <complexType>
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <sequence>
             <element name="attributeReference" type="{http://www.iknowbase.com/ws/iknowbase-2}objectReference"/>
             <element name="required" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
           </sequence>
         </restriction>
       </complexContent>
     </complexType>
     
    See Also:
    Serialized Form
    • Field Detail

      • required

        protected boolean required
    • Constructor Detail

      • Attribute

        public Attribute()
        Default no-arg constructor
      • Attribute

        public Attribute​(ObjectReference attributeReference,
                         boolean required)
        Fully-initialising value constructor
    • Method Detail

      • getAttributeReference

        public ObjectReference getAttributeReference()
        Gets the value of the attributeReference property.
        Returns:
        possible object is ObjectReference
      • setAttributeReference

        public void setAttributeReference​(ObjectReference value)
        Sets the value of the attributeReference property.
        Parameters:
        value - allowed object is ObjectReference
      • isRequired

        public boolean isRequired()
        Gets the value of the required property.
      • setRequired

        public void setRequired​(boolean value)
        Sets the value of the required property.