Partager via


EnumObject Class

Definition

classes that implement a XPATH level must be derived from this class

public abstract class EnumObject
type EnumObject = class
Public MustInherit Class EnumObject
Inheritance
EnumObject
Derived

Constructors

EnumObject()

default constructor

Properties

ConnectionInfo

conection object

Filter

filter for this level

FixedProperties

list of the properties for which the value is know e.g. Name is know if the fileter is in the form [@Name='fff'] or [@Name='fff' and ( xxxxx ) ]

Name

name of the xpath level

Request

the request for this level, it is received from one level down or from user if it is the last level

ResultTypes

return what types of results does this object support

Urn

this property lives only while a request is serviced

Methods

AddProperty(ObjectProperty)

add to the collection of properties

ComputeFixedProperties()

calculate the list of fixed properties ( their value can be deduced from the filter )

GetAliasPropertyName(String)

get the property name as it will be aliased in the result set to the user

GetData(EnumResult)

Gets the the EnumResult data acordingly to the Request wich was previoesly set by the Environment

GetFixedStringProperty(String, Boolean)

get a fixed ( with known value from filter ) property of type string

GetProperties(ObjectPropertyUsages)

returns the object properties by usage

GetProperty(String, ObjectPropertyUsages)

accessor for a property by name and usage ( internal use )

GetUrnProperties()

until we have a formal way so that each object declares which properties it uses for urn try this best guess aproach

Initialize(Object, XPathExpressionBlock)

initialize this level

PostProcess(EnumResult)

This is called after the data has been retrived by the final object so the chian is preparing to be freed Because the objects are persisted between calls free any call specific data

RetrieveParentRequest()

Override this method to generate a Request for the parent object The response from the parent object will give us the subset of parent objects for which the current level must generate it's result

TryGetProperty(String, ObjectPropertyUsages)

accessor for a property by name and usage ( internal use )

Applies to