|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.hudson.hibernatesynchronizer.mapping.BaseElement
Constructor Summary | |
BaseElement()
|
Method Summary | |
void |
clear(java.lang.String key)
Clear the cached property for the given key |
java.lang.String |
get(java.lang.String key)
Return the save-able property for the given key |
java.lang.String |
get(java.lang.String key,
boolean force)
Return the property for the given key. |
java.util.Map |
getCustomProperties()
Return all custom properties for this element |
java.lang.String |
getJavaDoc(java.lang.String key)
Return Javadoc style comments for the given String |
java.lang.String |
getJavaDoc(java.lang.String key,
java.lang.String indent)
Return Javadoc style comments for the given String using the indentation given |
java.util.List |
getMetaData()
Return a list of meta-data nodes associated with this element |
org.w3c.dom.Node |
getNode()
Return the node associated with this element |
protected java.lang.String |
getNodeText(org.w3c.dom.Node node)
Helper method to return the contents of a given node |
HibernateClass |
getParentRoot()
Return the class root for this element or self if this element is a HibernateClass that is the parent class |
protected java.lang.String[] |
getReservedProperties()
Return an array of properties that should not be considered custom properties |
protected void |
saveMetaData(org.w3c.dom.Node node)
Set the custom properties associated with the meta-data for this element |
void |
set(java.lang.String key,
java.lang.String value)
Set the property using the key and value given |
void |
setNode(org.w3c.dom.Node node)
Set the node related to this element |
void |
setParentRoot(HibernateClass rootClass)
Set the class root for this element |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public BaseElement()
Method Detail |
public void set(java.lang.String key, java.lang.String value)
key
- value
- public void clear(java.lang.String key)
key
- public java.lang.String get(java.lang.String key)
key
- public java.lang.String get(java.lang.String key, boolean force)
key
- force
-
public java.lang.String getJavaDoc(java.lang.String key)
key
- public java.lang.String getJavaDoc(java.lang.String key, java.lang.String indent)
key
- indent
- public java.util.Map getCustomProperties()
protected java.lang.String[] getReservedProperties()
public org.w3c.dom.Node getNode()
protected java.lang.String getNodeText(org.w3c.dom.Node node)
node
- protected void saveMetaData(org.w3c.dom.Node node)
node
- the element nodepublic void setNode(org.w3c.dom.Node node)
node
- the element nodepublic HibernateClass getParentRoot()
public void setParentRoot(HibernateClass rootClass)
rootClass
- public java.util.List getMetaData()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |