Click or drag to resize
SchemaElementDefinition Class
The definition of an item in a data schema.
Inheritance Hierarchy
SystemObject
  Bloomberglp.BlpapiSchemaElementDefinition

Namespace:  Bloomberglp.Blpapi
Assembly:  Bloomberglp.Blpapi (in Bloomberglp.Blpapi.dll) Version: 3.15.0.1
Syntax
public abstract class SchemaElementDefinition

The SchemaElementDefinition type exposes the following members.

Constructors
  NameDescription
Protected methodSchemaElementDefinition
Initializes a new instance of the SchemaElementDefinition class
Top
Properties
  NameDescription
Public propertyAlternateNames
Creates an enumerable collection of all alternate names.
Public propertyConstraints
Return the list of constraints.
Public propertyDescription
Gets a string containing a human readable description of this item.
Public propertyMaxValues
Return the maximum number of occurrences of the this item. This value may be UNBOUNDED (-1) or any value >= 1.
Public propertyMinValues
Gets the minimum number of occurrences of this item. This value is always >= 0.
Public propertyName
Gets the name of this item.
Public propertyNumAlternateNames
Gets the number of alternate names for this item.
Public propertyStatus
Gets the status of this SchemaElementDefinition.
Public propertyTypeDefinition
Gets the SchemaTypeDefinition of this item.
Public propertyUserData
Sets and gets the user data associated with this object.
Top
Methods
  NameDescription
Public methodGetAlternateName
Gets the alternate name for this item at the specified index.
Top
Fields
  NameDescription
Public fieldStatic memberUNBOUNDED
Indicates that an array element has an unbounded number of values.
Top
Remarks

SchemaElementDefinition are returned by {@link Service} objects and {@link Operation} objects to define the content of requests, replies and events. The {@link SchemaTypeDefinition} returned by {@link SchemaElementDefinition#typeDefinition()} may itself return SchemaElementDefinition objects when the schema contains complex items. SchemaElementDefinition objects are read-only and always created by the API, never by the application. The SchemaElementDefinition defines the symbolic name any constraints on this item and the SchemaTypeDefinition which represents instances of this item.

As well as the symbolic name, array constraints and other constraints this class also provides access to the description and status of the item.

Thread Safety
Static members of this type are safe for multi-threaded operations. Instance members of this type are safe for multi-threaded operations.
See Also