|
||||||||||
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 QName |
defaultName
|
protected String |
displayName
|
protected Integer |
displayOrder
|
protected String |
help
|
protected boolean |
ignored
|
protected PrismContext |
prismContext
|
protected QName |
typeName
|
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable |
---|
INDENT_STRING |
Method Summary | |
---|---|
protected void |
copyDefinitionData(Definition clone)
|
String |
debugDump()
Show the content of the object intended for diagnostics by system administrator. |
String |
debugDump(int indent)
|
String |
dump()
Show the content of the object intended for diagnostics by developer. |
boolean |
equals(Object obj)
|
protected abstract String |
getDebugDumpClassName()
Return a human readable name of this class suitable for logs. |
QName |
getDefaultName()
Returns default name for the defined entity. |
String |
getDisplayName()
Returns display name. |
Integer |
getDisplayOrder()
Specifies an order in which the item should be displayed relative to other items at the same level. |
String |
getHelp()
Returns help string. |
PrismContext |
getPrismContext()
|
protected SchemaRegistry |
getSchemaRegistry()
|
Class |
getTypeClass()
|
QName |
getTypeName()
Returns the name of the definition type. |
int |
hashCode()
|
boolean |
isIgnored()
|
void |
setDisplayName(String displayName)
|
void |
setDisplayOrder(Integer displayOrder)
|
void |
setHelp(String help)
|
void |
setIgnored(boolean ignored)
|
void |
setTypeName(QName typeName)
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected QName defaultName
protected QName typeName
protected boolean ignored
protected String displayName
protected Integer displayOrder
protected String help
protected transient PrismContext prismContext
Method Detail |
---|
public QName getDefaultName()
public QName getTypeName()
public void setTypeName(QName typeName)
public boolean isIgnored()
public void setIgnored(boolean ignored)
public String getDisplayName()
public void setDisplayName(String displayName)
public Integer getDisplayOrder()
public void setDisplayOrder(Integer displayOrder)
public String getHelp()
public void setHelp(String help)
public PrismContext getPrismContext()
protected SchemaRegistry getSchemaRegistry()
public Class getTypeClass()
protected void copyDefinitionData(Definition clone)
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
public String toString()
toString
in class Object
public String dump()
Dumpable
dump
in interface Dumpable
public String debugDump()
DebugDumpable
debugDump
in interface DebugDumpable
public String debugDump(int indent)
debugDump
in interface DebugDumpable
protected abstract String getDebugDumpClassName()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |