|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.evolveum.midpoint.prism.Definition
public abstract class Definition
Abstract definition in the schema. This is supposed to be a superclass for all definitions. It defines common properties for all definitions. The definitions represent data structures of the schema. Therefore instances of Java objects from this class represent specific definitions from the schema, not specific properties or objects. E.g the definitions does not have any value. To transform definition to a real property or object use the explicit instantiate() methods provided in the definition classes. E.g. the instantiate() method will create instance of Property using appropriate PropertyDefinition. The convenience methods in Schema are using this abstract class to find appropriate definitions easily.
Field Summary | |
---|---|
protected javax.xml.namespace.QName |
defaultName
|
protected java.lang.String |
displayName
|
protected java.lang.Integer |
displayOrder
|
protected java.lang.String |
help
|
protected boolean |
ignored
|
protected PrismContext |
prismContext
|
protected javax.xml.namespace.QName |
typeName
|
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable |
---|
INDENT_STRING |
Method Summary | |
---|---|
protected void |
copyDefinitionData(Definition clone)
|
java.lang.String |
debugDump()
Show the content of the object intended for diagnostics by system administrator. |
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 abstract java.lang.String |
getDebugDumpClassName()
Return a human readable name of this class suitable for logs. |
javax.xml.namespace.QName |
getDefaultName()
Returns default name for the defined entity. |
java.lang.String |
getDisplayName()
Returns display name. |
java.lang.Integer |
getDisplayOrder()
Specifies an order in which the item should be displayed relative to other items at the same level. |
java.lang.String |
getHelp()
Returns help string. |
PrismContext |
getPrismContext()
|
protected SchemaRegistry |
getSchemaRegistry()
|
java.lang.Class |
getTypeClass()
|
javax.xml.namespace.QName |
getTypeName()
Returns the name of the definition type. |
int |
hashCode()
|
boolean |
isIgnored()
|
void |
setDisplayName(java.lang.String displayName)
|
void |
setDisplayOrder(java.lang.Integer displayOrder)
|
void |
setHelp(java.lang.String help)
|
void |
setIgnored(boolean ignored)
|
void |
setTypeName(javax.xml.namespace.QName typeName)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected javax.xml.namespace.QName defaultName
protected javax.xml.namespace.QName typeName
protected boolean ignored
protected java.lang.String displayName
protected java.lang.Integer displayOrder
protected java.lang.String help
protected transient PrismContext prismContext
Method Detail |
---|
public javax.xml.namespace.QName getDefaultName()
public javax.xml.namespace.QName getTypeName()
public void setTypeName(javax.xml.namespace.QName typeName)
public boolean isIgnored()
public void setIgnored(boolean ignored)
public java.lang.String getDisplayName()
public void setDisplayName(java.lang.String displayName)
public java.lang.Integer getDisplayOrder()
public void setDisplayOrder(java.lang.Integer displayOrder)
public java.lang.String getHelp()
public void setHelp(java.lang.String help)
public PrismContext getPrismContext()
protected SchemaRegistry getSchemaRegistry()
public java.lang.Class getTypeClass()
protected void copyDefinitionData(Definition 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()
DebugDumpable
debugDump
in interface DebugDumpable
public java.lang.String debugDump(int indent)
debugDump
in interface DebugDumpable
protected abstract java.lang.String getDebugDumpClassName()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |