tag only to avoid XSD unique
particle attribution (UPA) problems. In the above example the
non-standard properties are:
Property "geekName" in namespace defined by "foo" prefix. This is also
single-valued string property.
Multi-valued non-standard property "guild". It is a string property
with multiple values. Multiple values are represented by providing
multiple instances of XML elements in the document.
Such properties are typically used for roles, groups, etc.
Complex property "pet". This property is defined by
complex XML type, using XML sub-elements to
represent structured data. Note that the use of XML attributes
is discouraged in the properties, although it might be possible in
some cases. This is also multi-valued property.
Complex property "shoppingPreferences". This property is using
complex XML type to form a structure of XML elements to
represent data. This is a single-valued property.
Note that the sub-elements "tShirt" and "tie" are NOT considered
to be properties.
QName-URI mapping:
For the purpose of this schema and all components that are using it,
URIs and QNames are considered equivalent. This is required by WWW
architecture and also helps avoid some drawbacks and bugs in XML-related
implementations that usually do not deal QNames well.
The QNames are mapped to URIs by concatenating namespace URI and a local
name. If URI does not end with slash (/) or hash (#) character, slash is
concatenated to the URI before adding the local name. The URI-QName
mapping is the reverse process.
Java class for ObjectType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ObjectType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="name" type="{http://prism.evolveum.com/xml/ns/public/types-2}PolyStringType" minOccurs="0"/>
<element ref="{http://midpoint.evolveum.com/xml/ns/public/common/common-2a}description" minOccurs="0"/>
<element name="fetchResult" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-2a}OperationResultType" minOccurs="0"/>
<element ref="{http://midpoint.evolveum.com/xml/ns/public/common/common-2a}extension" minOccurs="0"/>
<element name="parentOrg" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-2a}OrgType" maxOccurs="unbounded" minOccurs="0"/>
<element name="parentOrgRef" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-2a}ObjectReferenceType" maxOccurs="unbounded" 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" />
</restriction>
</complexContent>
</complexType>
- See Also:
- Serialized Form
parentOrgRef
protected List<ObjectReferenceType> parentOrgRef
COMPLEX_TYPE
public static final QName COMPLEX_TYPE
F_NAME
public static final QName F_NAME
F_DESCRIPTION
public static final QName F_DESCRIPTION
F_FETCH_RESULT
public static final QName F_FETCH_RESULT
F_EXTENSION
public static final QName F_EXTENSION
F_PARENT_ORG
public static final QName F_PARENT_ORG
F_PARENT_ORG_REF
public static final QName F_PARENT_ORG_REF
ObjectType
public ObjectType()
setupContainer
public void setupContainer(PrismObject container)
- Specified by:
setupContainer
in interface Objectable
asPrismObject
public PrismObject asPrismObject()
- Specified by:
asPrismObject
in interface Objectable
asPrismContainer
protected PrismObject asPrismContainer()
asPrismContainerValue
public PrismContainerValue asPrismContainerValue()
- Specified by:
asPrismContainerValue
in interface Containerable
setupContainerValue
public void setupContainerValue(PrismContainerValue containerValue)
- Description copied from interface:
Containerable
- Setup value to the containerable representation. This is used to after (empty) containerable is created to
initialize it with a correct prism container value.
Note: This method DOES NOT change the container value parent.
- Specified by:
setupContainerValue
in interface Containerable
toString
public String toString()
- Overrides:
toString
in class Object
equals
public boolean equals(Object object)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
toDebugName
public String toDebugName()
- Description copied from interface:
Objectable
- Returns short string representing identity of this object.
It should container object type, OID and name. It should be presented
in a form suitable for log and diagnostic messages (understandable for
system administrator).
- Specified by:
toDebugName
in interface Objectable
toDebugType
public String toDebugType()
- Description copied from interface:
Objectable
- Returns short string identification of object type. It should be in a form
suitable for log messages. There is no requirement for the type name to be unique,
but it rather has to be compact. E.g. short element names are preferred to long
QNames or URIs.
- Specified by:
toDebugType
in interface Objectable
- Returns:
getName
public PolyStringType getName()
- Specified by:
getName
in interface Objectable
setName
public void setName(PolyStringType value)
- Specified by:
setName
in interface Objectable
getDescription
public String getDescription()
- Specified by:
getDescription
in interface Objectable
setDescription
public void setDescription(String value)
- Specified by:
setDescription
in interface Objectable
getFetchResult
public OperationResultType getFetchResult()
setFetchResult
public void setFetchResult(OperationResultType value)
getExtension
public ExtensionType getExtension()
setExtension
public void setExtension(ExtensionType value)
getParentOrg
public List<OrgType> getParentOrg()
getParentOrgRef
public List<ObjectReferenceType> getParentOrgRef()
getOid
public String getOid()
- Specified by:
getOid
in interface Objectable
setOid
public void setOid(String value)
- Specified by:
setOid
in interface Objectable
getVersion
public String getVersion()
- Specified by:
getVersion
in interface Objectable
setVersion
public void setVersion(String value)
- Specified by:
setVersion
in interface Objectable
clone
public ObjectType clone()
- Overrides:
clone
in class Object
Copyright © 2013 evolveum. All Rights Reserved.