ReposProperty Object

Meta Data Services Programming

Meta Data Services Programming

ReposProperty Object

A repository property is a persistent property or collection that is attached to an object instance. It provides generic access to the properties of repository objects.

When to Use

Use the ReposProperty object to access generic meta data about a repository property, or to set the value of a repository property. ReposProperty retrieves meta data type information from the repository object instance itself. This eliminates the need to access the information model to obtain data from the ClassDef, InterfaceDef, PropertyDef, or CollectionDef that defines the object.

If you are providing browsing functionality in a tool or application, you can use ReposProperty to retrieve data about an object. Based on the values you obtain through ReposProperty, you can access more specific meta data about the object instance.

ReposProperty retrieves meta data about an object by accessing cached data. It also provides properties and methods for handling special case scenarios when accessing binary large objects (BLOBs) or large text fields.

Properties
Property Description
APIType The C data type of the property. It returns an API type enumeration value for the property.

This property is not a default interface member.

CurrentPosition A position within a BLOB or large text field. It establishes a starting point anywhere within a BLOB or large text field for performing Read and Write operations.

This property is not a default interface member.

Flags Flags that specify attributes of an interface member, such as whether it is hidden, read-only, virtual, or derived.

This property is not a default interface member.

IsBaseMember A flag that indicates whether the property is a base member.

This property is not a default interface member.

IsMostDerived A flag that indicates whether the property is the most recently derived member of a base member.

This property is not a default interface member.

IsOriginCollection A flag that indicates whether the collection is the origin of the relationship.

This property is not a default interface member.

IsReadOnly A flag that, when set to TRUE, returns a value associated with the current property.

This property is not a default interface member.

Name The name of the property.
PropType An in-memory pointer to an object instance.

This property is not a default interface member.

Size The size of a BLOB or large text field.

This property is not a default interface member.

Type The type of the property, expressed as an object name or object identifier.
Value The value of the property.
Methods
Property Description
Close Directs the repository engine to stop reading from or writing to a BLOB or large text field.

This method is not a default interface member.

Read Reads a large property value provided through a BLOB or large text field, starting at the current position.

This method is not a default interface member.

ReadFromFile Reads the contents of a BLOB or large text field from a file.

This method is not a default interface member.

Write Writes a large property value to a BLOB or large text field, starting at the current position.

This method is not a default interface member.

WriteToFile Stores the contents of a BLOB or large text field as a file.

This method is not a default interface member.


See Also

ReposProperties Object