| java.lang.Object hu.netmind.persistence.ClassInfo
ClassInfo | public class ClassInfo (Code) | | Information and transformations on a given class.
author: Brautigam Robert version: Revision: $Revision$ |
getAttributeClassEntry | public ClassEntry getAttributeClassEntry(String attributeName)(Code) | | Get the exact class a member attribute is declared in.
Parameters: attributeName - The attribute to search for. The class the attribute is declared in, which is either thesource class, or a superclass, or null if no such attribute is found. |
getAttributeNames | public List getAttributeNames()(Code) | | Get the attribute names in a list of this class.
|
getAttributeType | public Class getAttributeType(String attributeName)(Code) | | Get the type of the attribute given.
The type marker as defined in ClassTracker. |
getAttributeValue | public Object getAttributeValue(Object obj, String attributeName)(Code) | | Get the attribute value from a given object of this class and
from given attribute.
|
getStrictAttributeNames | public List getStrictAttributeNames(ClassEntry entry)(Code) | | Get the attributes declared in the class given.
|
getStrictAttributeTypes | public Map getStrictAttributeTypes(ClassEntry entry)(Code) | | Get the attribute types for a strict class.
|
getStrictClassEntries | public List getStrictClassEntries()(Code) | | Get all classes and superclasses of the source class.
|
getSubTableName | public String getSubTableName(String attributeName)(Code) | | Subtable names will be generated for attributes. This method does
not check whether attribute need a subtable name, just generates
one.
Parameters: attributeName - The attribute to get subtable name for. |
getTableName | public String getTableName(ClassEntry entry)(Code) | | The table name for a class will be the fully qualified name, with
the dots replaced with underscores. This algorithm is not guaranteed
to stay this way during future versions.
|
hasChanged | public boolean hasChanged()(Code) | | Return whether the information changed in info class.
|
hashCode | public int hashCode()(Code) | | |
newInstance | public Object newInstance(Map marshalledValues) throws InstantiationException, IllegalAccessException(Code) | | Instantiate an object of this info entity. If the object in question
is a dynamic object, it's dynamic name will be set.
Parameters: marshalledValues - The values for which this object will be created. |
setAttributeValue | public void setAttributeValue(Object obj, String attributeName, Object value)(Code) | | Set an object as value into object given.
|
|
|