Topic
Prev Next

SchemaProperty Class

SchemaProperty Attributes

Attribute

Description

See also

TypeID

long

Notes: Read only

The classifier ID of the property.

PropID

long

Notes: Read only

The property ID.

Guid

string

Notes: Read only

The unique model GUID of the property.

Name

string

Notes: Read only

The name of the property.

Cardinality

string

Notes: Read only

The cardinality of the element.

UMLType

string

Notes: Read only

The UML type, such as attribute, association or aggregation.

Parent

long

Notes: Read only

The classifier of the owner Class.

PrimitiveType

string

Notes: Read only

The property's primitive type if property represents a simple type.

Annotation

string

Notes: Read only

The model notes for the property.

Stereotype

string

Notes: Read only

The stereotype of the property.

Choices

SchemaTypeEnum

Returns an iterator allowing navigation of choice elements defined for this property in the Schema Composer

TypeName

string

Returns a string naming the type of the property

Type

SchemaType

Returns an interface to the property's type for complex types.

SchemaProperty Methods

Method

Description

See also

IsInline

boolean

If true, the property is marked as 'Inline'. XML schema generators would emit an inline definition when detecting this attribute.

IsPrimitive

boolean

Returns true for a property whose type is maps to a built in type such as xs:integer, xs:string, xs:date or other XML Schema built-in type.

IsByReference

boolean

Returns true for a property marked as 'By Reference' in the profile.