System.Object
DependentObjectType
Client Declaration
public class DependentObjectType
Represents the value of a dependent Content Engine object.
A dependent object is instantiated from a subclass of the DependentObject
class. It exists only within the scope of an independent object and, if persitable, can be persisted only when the independent object
to which it belongs (via an object-valued property) is persisted. A dependent object is non-addressable and does not possess a unique identifier by which it can be referenced. Because a dependent object does not have its own identifier, it can be represented only by value, not by object reference.
Attributes
DependentObjectTypeDependentAction
dependentAction
: [request] Optional expression specifying the type of operation to be performed on the dependent object in the list collection of its parent independent object. If this attribute is omitted, the default operation is Update
.Int32
newIndex
: [request] Optional expression specifying the new
(zero-based) position of the dependent object in the list collection of its parent independent object when the value of dependentAction
is Insert
or Move
.Int32
originalIndex
: [request] Optional expression specifying the
original (zero-based) position of the dependent object in the list collection of its parent independent object. Attributes Specific to .NET Clients
Boolean
dependentActionSpecified
: Optional expression specifying whether dependentAction
has a value (true
) or not (false
). Boolean
newIndexSpecified
: Optional expression specifying whether newIndex
has a value (true
) or not (false
). Boolean
originalIndexSpecified
: Optional expression specifying whether originalIndex
has a value (true
) or not (false
).
Elements
PropertyType[]
Property
: [request][response] Optional element specifying the object's property collection. The following properties are excluded: This
, OIID
, ObjectType
, CreatePending
, DeletePending
, and UpdatePending
. Attributes
Int32
accessAllowed
: [response] Optional expression specifying a mask
of access rights granted to the user requesting the object. Valid only
for independently persistable objects, ObjectStore
objects, and Domain
objects.String[]
superClasses
: [response] Optional expression specifying
the derivation path for the class of the object, which starts with the immediate
superclass and proceeds upward to the root class. This attribute allows an
application to easily obtain the base type of a class. Int32
updateSequenceNumber
: [response] Optional expression specifying
an update sequence number (USN), which increases monotonically with each update to the object. When updating
an object, the USN obtained from the retrieved object can be returned in the
update request and checked against the currently persisted value, as a means
of protecting against concurrent updates. Only valid for independently persistable
objects. String
classId
:
String
objectId
:
EntireNetwork
objects and query result rows) expression specifying the GUID of the object. Exceptions apply for the following objects:
Realm
: The name of the realm is specified. Group
/User
: The principal name of the group or user is specified.classId
specifies the ClassDescription
class, objectId
can specify an object's class symbolic name instead of its GUID.String
objectStore
:
ClassDescription
object can be treated as a database repository object; if it describes a database repository object class, the objectStore
attribute is required; otherwise, it is omitted.Attributes Specific to .NET Clients
Boolean
accessAllowedSpecified
: Optional expression specifying whether accessAllowed
has a value (true
) or not (false
). Boolean
updateSequenceNumberSpecified
: Optional expression specifying whether updateSequenceNumber
has a value (true
) or not (false
).
<xsd:complexType name="DependentObjectType"> <xsd:complexContent> <xsd:extension base="ObjectValue"> <xsd:attribute name="originalIndex" type="xsd:int"/> <xsd:attribute name="newIndex" type="xsd:int"/> <xsd:attribute name="dependentAction"> <xsd:simpleType> <xsd:restriction base="xsd:string"> <xsd:enumeration value="Update"/> <xsd:enumeration value="Move"/> <xsd:enumeration value="Insert"/> <xsd:enumeration value="Delete"/> </xsd:restriction> </xsd:simpleType> </xsd:attribute> </xsd:extension> </xsd:complexContent> </xsd:complexType>