org.eclipse.emf._2002.ecore
Class EEnumLiteral

java.lang.Object
  extended by org.eclipse.emf._2002.ecore.EModelElement
      extended by org.eclipse.emf._2002.ecore.ENamedElement
          extended by org.eclipse.emf._2002.ecore.EEnumLiteral
All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.ToString

public class EEnumLiteral
extends ENamedElement
implements org.jvnet.jaxb2_commons.lang.ToString

Java class for EEnumLiteral complex type.

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

 <complexType name="EEnumLiteral">
   <complexContent>
     <extension base="{http://www.eclipse.org/emf/2002/Ecore}ENamedElement">
       <attribute name="value" type="{http://www.eclipse.org/emf/2002/Ecore}EInt" />
       <attribute name="instance" type="{http://www.eclipse.org/emf/2002/Ecore}EEnumerator" />
       <attribute name="literal" type="{http://www.eclipse.org/emf/2002/Ecore}EString" />
     </extension>
   </complexContent>
 </complexType>
 


Field Summary
protected  String instance
           
protected  String literal
           
protected  String value
           
 
Fields inherited from class org.eclipse.emf._2002.ecore.ENamedElement
name
 
Fields inherited from class org.eclipse.emf._2002.ecore.EModelElement
eAnnotations
 
Constructor Summary
EEnumLiteral()
           
 
Method Summary
 String getInstance()
          Gets the value of the instance property.
 String getLiteral()
          Gets the value of the literal property.
 String getValue()
          Gets the value of the value property.
 void setInstance(String value)
          Sets the value of the instance property.
 void setLiteral(String value)
          Sets the value of the literal property.
 void setValue(String value)
          Sets the value of the value property.
 String toString()
           
 void toString(org.apache.commons.lang.builder.ToStringBuilder toStringBuilder)
           
 
Methods inherited from class org.eclipse.emf._2002.ecore.ENamedElement
getName, setName
 
Methods inherited from class org.eclipse.emf._2002.ecore.EModelElement
getEAnnotations
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

value

protected String value

instance

protected String instance

literal

protected String literal
Constructor Detail

EEnumLiteral

public EEnumLiteral()
Method Detail

getValue

public String getValue()
Gets the value of the value property.

Returns:
possible object is String

setValue

public void setValue(String value)
Sets the value of the value property.

Parameters:
value - allowed object is String

getInstance

public String getInstance()
Gets the value of the instance property.

Returns:
possible object is String

setInstance

public void setInstance(String value)
Sets the value of the instance property.

Parameters:
value - allowed object is String

getLiteral

public String getLiteral()
Gets the value of the literal property.

Returns:
possible object is String

setLiteral

public void setLiteral(String value)
Sets the value of the literal property.

Parameters:
value - allowed object is String

toString

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

toString

public String toString()
Overrides:
toString in class ENamedElement


Copyright © 2010-2011 OW2 Consortium. All Rights Reserved.