|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.evolveum.midpoint.schema.processor.Item
com.evolveum.midpoint.schema.processor.PropertyContainer
com.evolveum.midpoint.schema.processor.MidPointObject<T>
public class MidPointObject<T extends ObjectType>
Common supertype for all identity objects. Defines basic properties that each object must have to live in our system (identifier, name). Objects consists of identifier and name (see definition below) and a set of properties represented as XML elements in the object's body. The attributes are represented as first-level XML elements (tags) of the object XML representation and may be also contained in other tags (e.g. extension, attributes). The QName (namespace and local name) of the element holding the property is considered to be a property name. This class is named MidPointObject instead of Object to avoid confusion with java.lang.Object.
Field Summary | |
---|---|
protected T |
objectType
|
protected java.lang.String |
oid
|
Fields inherited from class com.evolveum.midpoint.schema.processor.Item |
---|
definition, element, name, parentPath |
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable |
---|
INDENT_STRING |
Constructor Summary | |
---|---|
MidPointObject(javax.xml.namespace.QName name,
ObjectDefinition definition,
java.lang.Object element,
PropertyPath parentPath)
|
Method Summary | |
---|---|
protected java.lang.String |
additionalDumpDescription()
|
MidPointObject<T> |
clone()
|
ObjectDelta<T> |
compareTo(MidPointObject<T> other)
|
protected void |
copyValues(MidPointObject<T> clone)
|
boolean |
equals(java.lang.Object obj)
Note: hashcode and equals compare the objects in the "java way". |
boolean |
equivalent(java.lang.Object obj)
this method ignores some part of the object during comparison (e.g. |
protected java.lang.String |
getDebugDumpClassName()
Return a human readable name of this class suitable for logs. |
ObjectDefinition<T> |
getDefinition()
Returns applicable property container definition. |
java.lang.Class<T> |
getJaxbClass()
|
T |
getObjectType()
|
java.lang.String |
getOid()
Returns Object ID (OID). |
T |
getOrParseObjectType()
|
PropertyPath |
getPath()
|
int |
hashCode()
Note: hashcode and equals compare the objects in the "java way". |
org.w3c.dom.Node |
serializeToDom()
|
void |
setObjectType(T objectType)
|
void |
setOid(java.lang.String oid)
|
Methods inherited from class com.evolveum.midpoint.schema.processor.PropertyContainer |
---|
add, addAll, addAllReplaceExisting, addReplaceExisting, applyModification, applyModifications, copyValues, createProperty, createPropertyContainer, debugDump, dump, findItem, findItem, findOrCreateProperty, findOrCreateProperty, findOrCreatePropertyContainer, findOrCreatePropertyContainer, findProperty, findProperty, findProperty, findProperty, findPropertyContainer, findPropertyContainer, getItems, getProperties, getPropertyNames, isEmpty, serializePropertiesToJaxb, serializeToDom, setDefinition, toString |
Methods inherited from class com.evolveum.midpoint.schema.processor.Item |
---|
copyValues, debugDump, getDisplayName, getElement, getHelp, getName, getParentPath, setDefinition, setElement, setName, setParentPath |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected java.lang.String oid
protected T extends ObjectType objectType
Constructor Detail |
---|
public MidPointObject(javax.xml.namespace.QName name, ObjectDefinition definition, java.lang.Object element, PropertyPath parentPath)
Method Detail |
---|
public java.lang.String getOid()
public void setOid(java.lang.String oid)
public ObjectDefinition<T> getDefinition()
PropertyContainer
getDefinition
in class PropertyContainer
public PropertyPath getPath()
getPath
in class Item
public java.lang.Class<T> getJaxbClass()
public T getObjectType()
public void setObjectType(T objectType)
public T getOrParseObjectType() throws SchemaException
SchemaException
public MidPointObject<T> clone()
clone
in class PropertyContainer
protected void copyValues(MidPointObject<T> clone)
public ObjectDelta<T> compareTo(MidPointObject<T> other)
public int hashCode()
hashCode
in class PropertyContainer
public boolean equals(java.lang.Object obj)
equals
in class PropertyContainer
public boolean equivalent(java.lang.Object obj)
protected java.lang.String getDebugDumpClassName()
getDebugDumpClassName
in class PropertyContainer
protected java.lang.String additionalDumpDescription()
additionalDumpDescription
in class PropertyContainer
public org.w3c.dom.Node serializeToDom() throws SchemaException
SchemaException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |