|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.etai.xat2v2.obj.Xat2Property<T>
T
- public final class Xat2Property<T>
Useful class r=that can extract meta informations about properties of xat2 objects.
Nested Class Summary | |
---|---|
static class |
Xat2Property.PropertyType
|
Method Summary | ||
---|---|---|
Object |
addElement(T object)
|
|
int |
compareTo(Xat2Property<T> o)
|
|
static
|
extract(Class<T> cl)
|
|
Method |
getAddMethod()
|
|
Field |
getField()
|
|
Method |
getGetter()
|
|
static String |
getInternalId(Object object)
Gets the internal id of the object, or null if there's none. |
|
String |
getPropertyName()
|
|
Class<?> |
getPropertyType()
|
|
Method |
getSetter()
|
|
Xat2Property.PropertyType |
getType()
|
|
Object |
getValue(Object object)
|
|
static boolean |
hasInternalId(Object object)
Checks if the object has a not null internal id |
|
Object |
initProperty(T object)
|
|
boolean |
isEnum()
|
|
boolean |
isIDRef()
Checks if the property is a link to another Xat2 Object (ie if the property has a XmlIDREF annotation). |
|
boolean |
isInternalId()
Checks is the property is an XML internal identifier (ie if the property as a XmlID annotation). |
|
boolean |
isSet(T object)
|
|
static boolean |
isXat2Class(Class<?> cl)
|
|
static boolean |
isXat2Object(Object object)
|
|
static void |
removeIDs(Object object)
|
|
void |
setValue(T object,
Object value)
|
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public Method getAddMethod()
public static <T> Xat2Property<T>[] extract(Class<T> cl)
public String toString()
toString
in class Object
public int compareTo(Xat2Property<T> o)
compareTo
in interface Comparable<Xat2Property<T>>
public Object initProperty(T object)
public void setValue(T object, Object value)
public Object addElement(T object)
public boolean isSet(T object)
public Object getValue(Object object)
public Class<?> getPropertyType()
public String getPropertyName()
public Method getGetter()
public Method getSetter()
public Xat2Property.PropertyType getType()
public Field getField()
public boolean isInternalId()
XmlID
annotation).
public boolean isEnum()
public static boolean hasInternalId(Object object)
object
-
public static String getInternalId(Object object)
object
-
public boolean isIDRef()
XmlIDREF
annotation).
public static void removeIDs(Object object)
public static boolean isXat2Object(Object object)
public static boolean isXat2Class(Class<?> cl)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |