jaxx.runtime.context
Class JAXXContextEntryDef<O>
java.lang.Object
jaxx.runtime.context.JAXXContextEntryDef<O>
- Type Parameters:
O - type of the entry associated to the definition
- All Implemented Interfaces:
- Serializable
public class JAXXContextEntryDef<O>
- extends Object
- implements Serializable
To qualify an entry in a JAXXContext.
Use the factory methods newContextEntryDef and
newListContextEntryDef
- Author:
- chemit
- See Also:
- Serialized Form
|
Field Summary |
protected Class<O> |
klass
class of the entry, can not be null |
protected String |
name
name of the entry, can be nuill for a unamed entry. |
name
protected String name
- name of the entry, can be nuill for a unamed entry.
klass
protected Class<O> klass
- class of the entry, can not be null
JAXXContextEntryDef
public JAXXContextEntryDef(Class<O> klass)
JAXXContextEntryDef
public JAXXContextEntryDef(String name,
Class<O> klass)
getName
public String getName()
getKlass
public Class<O> getKlass()
getContextValue
public O getContextValue(JAXXContext context)
removeContextValue
public void removeContextValue(JAXXContext context)
setContextValue
public void setContextValue(JAXXContext context,
O value)
toString
public String toString()
- Overrides:
toString in class Object
equals
public boolean equals(Object o)
- Overrides:
equals in class Object
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
accept
public boolean accept(Class<?> klass,
String name)
accept2
public boolean accept2(Class<?> klass,
String name)
Copyright © 2008-2010 CodeLutin. All Rights Reserved.