Click or drag to resize

IAttrDef Interface

Represents the attribute definition of an object 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 IAttrDef

The IAttrDef type exposes the following members.

Properties
  NameDescription
Public propertyAttrType
Gets the associated attribute type.
Public propertyDescription
The attribute definition description. The description can be empty.
Public propertyDisplayName
The display name.
Public propertyId
The attribute definition ID. The ID is generated by the platform and cannot be modified.
Public propertyIsValid
Indicates if the attribute definition is valid. The attribute definition becomes invalid if the Destroy method has been called or the object type has been deleted.
Public propertyName
The attribute definition name. The name must be unique within the context of the containing object type and must follow the QName convention. No package name prefix required.
Public propertyObjType
Gets the containing object type.
Public propertyStorageType
Gets or sets the storage type.
Top
Methods
  NameDescription
Public methodChangeAttrType
Changes the attribute type. We can only change to attribute types with the same value type.
Public methodDestroy
Deletes the attribute definition.
Public methodGetAttrType
Retrieves the associated attribute type. The attribute type cannot be changed during the lifetime of an attribute definition.
Public methodGetObjType
Retrieves the containing object type.
Public methodMoveToObjType
Moves the attribute definition to a different object type. The object instances keep their attribute values if their object type still contains the attribute definition after this action.
Top
See Also