预订演示

请注意 : 本帮助页面不适用于最新版本的Enterprise Architect. 最新的帮助文档在这里.

前页 后页

SchemaProperty类

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 in model, defined for this property in the Schema Composer.  Combine with SchemaChoices attribute to obtain all available choices.

SchemaChoices

SchemaTypeEnum
Returns an iterator allowing navigation of choice elements in schema, defined for this property in the Schema Composer. Combine with Choices attribute to obtain all available choices.

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.