|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectch.elca.el4j.services.persistence.hibernate.dao.extent.AbstractExtentPart
public abstract class AbstractExtentPart
An ExtentPart is the abstract super Class of Extent parts like ExtentEntity or ExtentCollection.
Field Summary | |
---|---|
protected String |
m_name
The name of the extent-part. |
protected AbstractExtentPart |
m_parent
The parent of the entity, null if root. |
Constructor Summary | |
---|---|
AbstractExtentPart()
|
Method Summary | |
---|---|
int |
compareTo(AbstractExtentPart other)
|
boolean |
equals(Object object)
|
protected String |
firstCharLower(String str)
Helper function to set first Character lower case. |
protected String |
firstCharUpper(String str)
Helper function to set first Character upper case. |
abstract String |
getId()
|
Method |
getMethod()
Method to get the extent-part, null if root entity, otherwise set latest when added as child. |
String |
getName()
Name of the extent-part. |
AbstractExtentPart |
getParent()
Return the parent entity of the current extent part, null if root or contained in a collection. |
int |
hashCode()
|
protected String |
nativeToString()
|
protected void |
setParent(AbstractExtentPart parent)
Sets the parent of the extent-part. |
protected String |
toFieldName(Method m)
Helper function to convert a string from Getter-Method-name to field name. |
String |
toString()
|
protected abstract void |
updateId()
Updates the id of the extent part. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected String m_name
protected AbstractExtentPart m_parent
Constructor Detail |
---|
public AbstractExtentPart()
Method Detail |
---|
public String getName()
public AbstractExtentPart getParent()
public abstract String getId()
protected abstract void updateId()
public int compareTo(AbstractExtentPart other)
compareTo
in interface Comparable<AbstractExtentPart>
protected void setParent(AbstractExtentPart parent)
parent
- the parent to set.public Method getMethod() throws SecurityException, NoSuchMethodException
NoSuchMethodException
SecurityException
public int hashCode()
hashCode
in class Object
public boolean equals(Object object)
equals
in class Object
public String toString()
toString
in class Object
protected String nativeToString()
protected String toFieldName(Method m)
m
- the method to get the field name of.
protected String firstCharLower(String str)
str
- string to be changed
protected String firstCharUpper(String str)
str
- string to be changed
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |