public abstract class ObjectType extends ObjectType implements Serializable, Cloneable, Objectable
<?xml version="1.0" encoding="UTF-8"?><p xmlns:a="http://prism.evolveum.com/xml/ns/public/annotation-3" xmlns:c="http://midpoint.evolveum.com/xml/ns/public/common/common-3" xmlns:cap="http://midpoint.evolveum.com/xml/ns/public/resource/capabilities-3" xmlns:icfs="http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/resource-schema-3" xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" xmlns:q="http://prism.evolveum.com/xml/ns/public/query-3" xmlns:t="http://prism.evolveum.com/xml/ns/public/types-3" xmlns:tns="http://midpoint.evolveum.com/xml/ns/public/common/common-3" xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" xmlns:xjc="http://java.sun.com/xml/ns/jaxb/xjc" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> Common supertype for all identity objects. Defines basic properties that each object must have to live in our system (identifier, name). </p>
<?xml version="1.0" encoding="UTF-8"?><p xmlns:a="http://prism.evolveum.com/xml/ns/public/annotation-3" xmlns:c="http://midpoint.evolveum.com/xml/ns/public/common/common-3" xmlns:cap="http://midpoint.evolveum.com/xml/ns/public/resource/capabilities-3" xmlns:icfs="http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/resource-schema-3" xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" xmlns:q="http://prism.evolveum.com/xml/ns/public/query-3" xmlns:t="http://prism.evolveum.com/xml/ns/public/types-3" xmlns:tns="http://midpoint.evolveum.com/xml/ns/public/common/common-3" xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" xmlns:xjc="http://java.sun.com/xml/ns/jaxb/xjc" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> All objects are identified by OID. The OID is an immutable identifier (usually UUID). Except the OID all the objects have human-readable name. The name is usually unique for each object type, but this is not a strict requirement. </p>
<?xml version="1.0" encoding="UTF-8"?><p xmlns:a="http://prism.evolveum.com/xml/ns/public/annotation-3" xmlns:c="http://midpoint.evolveum.com/xml/ns/public/common/common-3" xmlns:cap="http://midpoint.evolveum.com/xml/ns/public/resource/capabilities-3" xmlns:icfs="http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/resource-schema-3" xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" xmlns:q="http://prism.evolveum.com/xml/ns/public/query-3" xmlns:t="http://prism.evolveum.com/xml/ns/public/types-3" xmlns:tns="http://midpoint.evolveum.com/xml/ns/public/common/common-3" xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" xmlns:xjc="http://java.sun.com/xml/ns/jaxb/xjc" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> Note: object type is fixed, it cannot be changed. The object retains its type from the time it was created to the end of its life. </p>
Java class for ObjectType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ObjectType"> <complexContent> <extension base="{http://prism.evolveum.com/xml/ns/public/types-3}ObjectType"> <sequence> <element name="name" type="{http://prism.evolveum.com/xml/ns/public/types-3}PolyStringType" minOccurs="0"/> <element ref="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}description" minOccurs="0"/> <element name="fetchResult" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}OperationResultType" minOccurs="0"/> <element ref="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}extension" minOccurs="0"/> <element name="parentOrg" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}OrgType" maxOccurs="unbounded" minOccurs="0"/> <element name="parentOrgRef" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}ObjectReferenceType" maxOccurs="unbounded" minOccurs="0"/> <element name="trigger" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}TriggerType" maxOccurs="unbounded" minOccurs="0"/> <element name="metadata" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}MetadataType" minOccurs="0"/> <element name="tenantRef" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}ObjectReferenceType" minOccurs="0"/> <element name="lifecycleState" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> </sequence> <attribute name="oid" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="version" type="{http://www.w3.org/2001/XMLSchema}string" /> </extension> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
static QName |
COMPLEX_TYPE |
static QName |
F_DESCRIPTION |
static QName |
F_EXTENSION |
static QName |
F_FETCH_RESULT |
static QName |
F_LIFECYCLE_STATE |
static QName |
F_METADATA |
static QName |
F_NAME |
static QName |
F_PARENT_ORG |
static QName |
F_PARENT_ORG_REF |
static QName |
F_TENANT_REF |
static QName |
F_TRIGGER |
Constructor and Description |
---|
ObjectType() |
ObjectType(PrismContext prismContext) |
public static final QName COMPLEX_TYPE
public static final QName F_NAME
public static final QName F_DESCRIPTION
public static final QName F_FETCH_RESULT
public static final QName F_EXTENSION
public static final QName F_PARENT_ORG
public static final QName F_PARENT_ORG_REF
public static final QName F_TRIGGER
public static final QName F_METADATA
public static final QName F_TENANT_REF
public static final QName F_LIFECYCLE_STATE
public ObjectType()
public ObjectType(PrismContext prismContext)
public void setupContainer(PrismObject container)
setupContainer
in interface Objectable
public PrismObject asPrismObject()
asPrismObject
in interface Objectable
asPrismObject
in class ObjectType
public PrismObject asPrismContainer()
public PrismContainerValue asPrismContainerValue()
asPrismContainerValue
in interface Containerable
public void setupContainerValue(PrismContainerValue containerValue)
Containerable
setupContainerValue
in interface Containerable
public String toDebugName()
Objectable
toDebugName
in interface Objectable
public String toDebugType()
Objectable
toDebugType
in interface Objectable
public PolyStringType getName()
getName
in interface Objectable
public void setName(PolyStringType value)
setName
in interface Objectable
public String getDescription()
getDescription
in interface Objectable
public void setDescription(String value)
setDescription
in interface Objectable
public OperationResultType getFetchResult()
public void setFetchResult(OperationResultType value)
public ExtensionType getExtension()
public void setExtension(ExtensionType value)
public List<ObjectReferenceType> getParentOrgRef()
public List<TriggerType> getTrigger()
public MetadataType getMetadata()
public void setMetadata(MetadataType value)
public ObjectReferenceType getTenantRef()
public void setTenantRef(ObjectReferenceType value)
public String getLifecycleState()
public void setLifecycleState(String value)
public String getOid()
getOid
in interface Objectable
public void setOid(String value)
setOid
in interface Objectable
public String getVersion()
getVersion
in interface Objectable
public void setVersion(String value)
setVersion
in interface Objectable
public ObjectType clone()
Copyright © 2016 Evolveum. All rights reserved.