|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.evolveum.midpoint.schema.processor.Item
public abstract class Item
Item is a common abstraction of Property and PropertyContainer.
This is supposed to be a superclass for all items. Items are things that can appear in property containers, which generally means only a property and property container itself. Therefore this is in fact superclass for those two definitions.
Field Summary | |
---|---|
protected Definition |
definition
|
protected java.lang.Object |
element
|
protected javax.xml.namespace.QName |
name
|
protected PropertyPath |
parentPath
|
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable |
---|
INDENT_STRING |
Constructor Summary | |
---|---|
Item(javax.xml.namespace.QName name,
Definition definition,
java.lang.Object element,
PropertyPath parentPath)
The constructors should be used only occasionally (if used at all). |
Method Summary | |
---|---|
abstract Item |
clone()
|
protected void |
copyValues(Item clone)
|
java.lang.String |
debugDump()
Provide terse and readable dump of the object suitable for log (at debug level). |
java.lang.String |
debugDump(int indent)
|
java.lang.String |
dump()
Show the content of the object intended for diagnostics by developer. |
boolean |
equals(java.lang.Object obj)
|
protected java.lang.String |
getDebugDumpClassName()
Return a human readable name of this class suitable for logs. |
Definition |
getDefinition()
Returns applicable property definition. |
java.lang.String |
getDisplayName()
Returns a display name for the property type. |
java.lang.Object |
getElement()
|
java.lang.String |
getHelp()
Returns help message defined for the property type. |
javax.xml.namespace.QName |
getName()
Returns the name of the property. |
PropertyPath |
getParentPath()
|
PropertyPath |
getPath()
|
int |
hashCode()
|
abstract void |
serializeToDom(org.w3c.dom.Node parentNode)
Serializes property to DOM or JAXB element(s). |
void |
setDefinition(PropertyDefinition definition)
Sets applicable property definition. |
void |
setElement(java.lang.Object element)
|
void |
setName(javax.xml.namespace.QName name)
Sets the name of the property. |
void |
setParentPath(PropertyPath parentPath)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected javax.xml.namespace.QName name
protected Definition definition
protected java.lang.Object element
protected PropertyPath parentPath
Constructor Detail |
---|
public Item(javax.xml.namespace.QName name, Definition definition, java.lang.Object element, PropertyPath parentPath)
Method Detail |
---|
public Definition getDefinition()
public javax.xml.namespace.QName getName()
public void setName(javax.xml.namespace.QName name)
name
- the name to setpublic void setDefinition(PropertyDefinition definition)
definition
- the definition to setpublic java.lang.Object getElement()
public void setElement(java.lang.Object element)
public PropertyPath getParentPath()
public void setParentPath(PropertyPath parentPath)
public PropertyPath getPath()
public java.lang.String getDisplayName()
public java.lang.String getHelp()
public abstract void serializeToDom(org.w3c.dom.Node parentNode) throws SchemaException
parentNode
- DOM Document
SchemaException
- No definition or inconsistent definitionpublic abstract Item clone()
clone
in class java.lang.Object
protected void copyValues(Item clone)
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String dump()
Dumpable
dump
in interface Dumpable
public java.lang.String debugDump()
debugDump
in interface DebugDumpable
public java.lang.String debugDump(int indent)
debugDump
in interface DebugDumpable
protected java.lang.String getDebugDumpClassName()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |