org.apache.openejb.jee
Class EnvEntry

java.lang.Object
  extended by org.apache.openejb.jee.EnvEntry
All Implemented Interfaces:
Injectable, JndiReference, Keyable<String>

public class EnvEntry
extends Object
implements JndiReference

javaee6.xsd

Java class for env-entryType complex type.

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

 <complexType name="env-entryType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="description" type="{http://java.sun.com/xml/ns/javaee}descriptionType" maxOccurs="unbounded" minOccurs="0"/>
         <element name="env-entry-name" type="{http://java.sun.com/xml/ns/javaee}jndi-nameType"/>
         <element name="env-entry-type" type="{http://java.sun.com/xml/ns/javaee}env-entry-type-valuesType" minOccurs="0"/>
         <element name="env-entry-value" type="{http://java.sun.com/xml/ns/javaee}xsdStringType" minOccurs="0"/>
         <group ref="{http://java.sun.com/xml/ns/javaee}resourceGroup"/>
       </sequence>
       <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  TextMap description
           
protected  String envEntryName
           
protected  String envEntryType
           
protected  String envEntryValue
           
protected  String id
           
protected  Set<InjectionTarget> injectionTarget
           
protected  String lookupName
           
protected  String mappedName
           
 
Constructor Summary
EnvEntry()
           
EnvEntry(String envEntryName, Class<?> envEntryType, String envEntryValue)
           
EnvEntry(String envEntryName, String envEntryType, String envEntryValue)
           
 
Method Summary
 String getDescription()
           
 Text[] getDescriptions()
           
 String getEnvEntryName()
           
 String getEnvEntryType()
          Gets the value of the envEntryType property.
 String getEnvEntryValue()
           
 String getId()
           
 Set<InjectionTarget> getInjectionTarget()
           
 String getKey()
          Gets the immutable key for this object.
 String getLookupName()
           
 String getMappedName()
           
 String getName()
           
 String getType()
           
 EnvEntry injectionTarget(Class<?> clazz, String property)
           
 EnvEntry injectionTarget(String className, String property)
           
 EnvEntry lookup(String lookupName)
           
 EnvEntry mappedName(String mappedName)
           
 EnvEntry name(String envEntryName)
           
 void setDescriptions(Text[] text)
           
 void setEnvEntryName(String value)
           
 void setEnvEntryType(String value)
           
 void setEnvEntryValue(String value)
           
 void setId(String value)
           
 void setLookupName(String lookupName)
           
 void setMappedName(String value)
           
 void setName(String name)
           
 void setType(String type)
           
 String toString()
           
 EnvEntry type(Class<?> envEntryType)
           
 EnvEntry type(String envEntryType)
           
 EnvEntry value(String envEntryValue)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

description

protected TextMap description

envEntryName

protected String envEntryName

envEntryType

protected String envEntryType

envEntryValue

protected String envEntryValue

mappedName

protected String mappedName

lookupName

protected String lookupName

injectionTarget

protected Set<InjectionTarget> injectionTarget

id

protected String id
Constructor Detail

EnvEntry

public EnvEntry()

EnvEntry

public EnvEntry(String envEntryName,
                String envEntryType,
                String envEntryValue)

EnvEntry

public EnvEntry(String envEntryName,
                Class<?> envEntryType,
                String envEntryValue)
Method Detail

name

public EnvEntry name(String envEntryName)

type

public EnvEntry type(String envEntryType)

type

public EnvEntry type(Class<?> envEntryType)

value

public EnvEntry value(String envEntryValue)

mappedName

public EnvEntry mappedName(String mappedName)

lookup

public EnvEntry lookup(String lookupName)

injectionTarget

public EnvEntry injectionTarget(String className,
                                String property)

injectionTarget

public EnvEntry injectionTarget(Class<?> clazz,
                                String property)

getName

public String getName()
Specified by:
getName in interface JndiReference

getType

public String getType()
Specified by:
getType in interface JndiReference

setName

public void setName(String name)
Specified by:
setName in interface JndiReference

getKey

public String getKey()
Description copied from interface: Keyable
Gets the immutable key for this object.

Specified by:
getKey in interface Keyable<String>
Returns:
gets the immutable key for this object

setType

public void setType(String type)
Specified by:
setType in interface JndiReference

getDescriptions

public Text[] getDescriptions()

setDescriptions

public void setDescriptions(Text[] text)

getDescription

public String getDescription()

getEnvEntryName

public String getEnvEntryName()

setEnvEntryName

public void setEnvEntryName(String value)

getEnvEntryType

public String getEnvEntryType()
Gets the value of the envEntryType property.


setEnvEntryType

public void setEnvEntryType(String value)

getEnvEntryValue

public String getEnvEntryValue()

setEnvEntryValue

public void setEnvEntryValue(String value)

getMappedName

public String getMappedName()
Specified by:
getMappedName in interface JndiReference

setMappedName

public void setMappedName(String value)
Specified by:
setMappedName in interface JndiReference

getLookupName

public String getLookupName()
Specified by:
getLookupName in interface JndiReference

setLookupName

public void setLookupName(String lookupName)
Specified by:
setLookupName in interface JndiReference

getInjectionTarget

public Set<InjectionTarget> getInjectionTarget()
Specified by:
getInjectionTarget in interface Injectable

getId

public String getId()

setId

public void setId(String value)

toString

public String toString()
Overrides:
toString in class Object


Copyright © 1999–2015 The Apache Software Foundation. All rights reserved.