com.epam.fix.validation.beans
Class Item

java.lang.Object
  extended by com.epam.fix.validation.beans.Item
All Implemented Interfaces:
Findable, Comparable

public class Item
extends Object
implements Findable

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">
       <choice maxOccurs="unbounded" minOccurs="0">
         <element ref="{}fieldref"/>
         <element ref="{}msgref"/>
         <element ref="{}blockref" minOccurs="0"/>
       </choice>
       <attribute name="val" type="{http://www.w3.org/2001/XMLSchema}string" />
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  List<Object> content
           
protected  String id
           
protected  String val
           
 
Constructor Summary
Item()
           
 
Method Summary
 int compareTo(Object o)
           
 boolean equals(Object o)
           
 List<Object> getContent()
          Gets the value of the content property.
 String getId()
          Gets the value of the id property.
 String getVal()
          Gets the value of the val property.
 int hashCode()
           
 void setId(String value)
          Sets the value of the id property.
 void setVal(String value)
          Sets the value of the val property.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

content

protected List<Object> content

val

protected String val

id

protected String id
Constructor Detail

Item

public Item()
Method Detail

getContent

public List<Object> getContent()
Gets the value of the content 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 content property.

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

    getContent().add(newItem);
 

Objects of the following type(s) are allowed in the list String Blockref Msgref Fieldref


getVal

public String getVal()
Gets the value of the val property.

Returns:
possible object is String

setVal

public void setVal(String value)
Sets the value of the val property.

Parameters:
value - allowed object is String

getId

public String getId()
Gets the value of the id property.

Returns:
possible object is String

setId

public void setId(String value)
Sets the value of the id property.

Parameters:
value - allowed object is String

compareTo

public int compareTo(Object o)
Specified by:
compareTo in interface Comparable

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2000-2014 EPAM Systems. All Rights Reserved.