org.ow2.dragon.dataset
Class Role

java.lang.Object
  extended by org.ow2.dragon.dataset.Role
All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.ToString

public class Role
extends java.lang.Object
implements org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.ToString

Java class for Role complex type.

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

 <complexType name="Role">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="index" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="right" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  java.lang.String index
           
protected  java.lang.String name
           
protected  java.util.List<java.lang.String> right
           
 
Constructor Summary
Role()
           
 
Method Summary
 boolean equals(java.lang.Object object)
           
 void equals(java.lang.Object object, org.apache.commons.lang.builder.EqualsBuilder equalsBuilder)
           
 java.lang.String getIndex()
          Gets the value of the index property.
 java.lang.String getName()
          Gets the value of the name property.
 java.util.List<java.lang.String> getRight()
          Gets the value of the right property.
 int hashCode()
           
 void hashCode(org.apache.commons.lang.builder.HashCodeBuilder hashCodeBuilder)
           
 void setIndex(java.lang.String value)
          Sets the value of the index property.
 void setName(java.lang.String value)
          Sets the value of the name property.
 java.lang.String toString()
           
 void toString(org.apache.commons.lang.builder.ToStringBuilder toStringBuilder)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

index

protected java.lang.String index

name

protected java.lang.String name

right

protected java.util.List<java.lang.String> right
Constructor Detail

Role

public Role()
Method Detail

getIndex

public java.lang.String getIndex()
Gets the value of the index property.

Returns:
possible object is String

setIndex

public void setIndex(java.lang.String value)
Sets the value of the index property.

Parameters:
value - allowed object is String

getName

public java.lang.String getName()
Gets the value of the name property.

Returns:
possible object is String

setName

public void setName(java.lang.String value)
Sets the value of the name property.

Parameters:
value - allowed object is String

getRight

public java.util.List<java.lang.String> getRight()
Gets the value of the right 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 right property.

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

    getRight().add(newItem);
 

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


toString

public void toString(org.apache.commons.lang.builder.ToStringBuilder toStringBuilder)
Specified by:
toString in interface org.jvnet.jaxb2_commons.lang.ToString

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

equals

public void equals(java.lang.Object object,
                   org.apache.commons.lang.builder.EqualsBuilder equalsBuilder)
Specified by:
equals in interface org.jvnet.jaxb2_commons.lang.Equals

equals

public boolean equals(java.lang.Object object)
Overrides:
equals in class java.lang.Object

hashCode

public void hashCode(org.apache.commons.lang.builder.HashCodeBuilder hashCodeBuilder)
Specified by:
hashCode in interface org.jvnet.jaxb2_commons.lang.HashCode

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object


Copyright © 2008-2010 eBMWebsourcing. All Rights Reserved.