Click or drag to resize

IObjType Interface

Represents an object type. Every object managed by ice.NET conforms to exactly one object type at any specific point of time. The object type serves as a factory for any object instances of this type.

Namespace:  PDTec.IceNet.Core.Model
Assembly:  PDTec.IceNet.Core (in PDTec.IceNet.Core.dll) Version: 7.2.0.0 (7.2.7583.15464)
Syntax
C#
public interface IObjType

The IObjType type exposes the following members.

Properties
  NameDescription
Public propertyDescription
The object type description. The description can be empty.
Public propertyDisplayName
The display name.
Public propertyId
The object type ID. The ID is generated by the platform and cannot be modified.
Public propertyIsAbstract
Indicates if the object type is abstract and therefore cannot be instantiated.
Public propertyIsBulk
Indicates if the attributes associated with this object type are to be treated as bulk. It is recommended that object types are declared bulk if they contain either many or large attributes.
Public propertyIsValid
Indicates if the object type instance is valid. The object type becomes invalid if the Destroy method has been called or the package has been deleted.
Public propertyName
The object type name. The name must be unique within the system context and must follow the QName convention. It is recommended that the object type name contains the package name prefix.
Public propertyPackage
Gets the containing package.
Top
Methods
  NameDescription
Public methodAddSupertype
Adds an inheritance relationship to (another) supertype. Multiple inheritance is possible.
Public methodCreateT
Creates an object instance of this type and returns it as a specific business object interface.
Public methodCreateAttrDef
Creates an attribute definition.
Public methodCreateObject
Creates an object instance of this type.
Public methodDestroy
Deletes the object type. Implicitly deletes all object instances of this type. This method fails if this still has subtypes.
Public methodGetAttrDefByName
Retrieves an attribute definition.
Public methodGetAttrDefs
Retrieves all attribute definitions of this object type.
Public methodGetPackage
Retrieves the containig package.
Public methodGetRelTypes
Retrieves all relationship types that are attached to the object type in the direction specified.
Public methodGetSubtypes
Retrieves the subtypes. This method does not operate recursively.
Public methodGetSupertypes
Retrieves the supertypes. This method does not operate recursively.
Public methodIsSubtypeOf
Indicates if the object type is a direct or indirect subtype of the argument.
Public methodMoveToPackage
Moves the object type to a different package. It is recommended that the object type name is modified to reflect the new package membership.
Public methodRemoveSupertype
Removes an inheritance relationship to an existing supertype.
Public methodSetAttrDefIndex
Re-position a attribute definition within the object type.
Public methodSetAttrDefIndices
Re-order all attribute definitions of the object type.
Public methodTryGetAttrDefByName
Retrieves an attribute definition.
Top
See Also