Object

Object node is a class or an object in the model.

The child elements of the Object node are Graphical, Printable, Fixed, Documentation, TEACH, DIAGRAM, DICTIONARY, OBJECT, THAT, METHOD, PROFILE, FOLDER, CAPTION, AUTO, MemberOfFolder, EXTRACTSETTING, DefaultCursor, and Constraint.

The following table lists the attributes of the Object node:

Attributes

Type

Description

Alias

xs:string

Alias name for an object. This must be unique for a given segment.

Visibility

xs:string

Specifies whether an element is visible to other classes (private, protected, or public).

DecimalsKeyed

typeBoolean

Default value of how decimal points are used in numeric attributes.

DecimalPointChar

typeBoolean

Decimal character to be used for decimals.

ClearWhenAlpha

xs:string

Specifies the clear-when character for alphanumeric (String) attributes.

ClearWhenNumeric

xs:nonNegativeInteger

Specifies the clear-when character for numeric attributes.

Caption

xs:string

Provides an alternative name or description of an attribute.

AutoEntryCapable

xs:nonNegativeInteger

Specifies whether the object is able to accept Automatic Entries.

IsAbstract

typeBoolean

Specifies whether the class is abstract. An abstract class cannot be instantiated.

IsConstant

typeBoolean

Specifies whether to allow the value of an attribute being changed by logic.

InquiryOnly

typeBoolean

Specifies whether a report can update the database.

IsSynchronous

typeBoolean

Specifies if the logic executes synchronously.

Decimals

xs:short

Specifies the number of decimal places required. The Decimals property is only available if the Primitive property is set to Number or Signed Number.

Direction

typeDirection

Specifies whether an attribute is displayed on the screen and how it passes data In, Out, or both (InOut).

PresentationType

typePresentationType

Presentation type for the element. A Graphical presentation type allows you to create a fully graphical presentation.

A value of Fixed presentation type allows only text-based elements and is most appropriate for applications to be presented on character-based screens.

A Graphical & Fixed presentation type allows you to create two separate versions of the presentation, for graphical and character-based screens.

A value of None means no presentation for this element.

AutoRecall

typeBoolean

Specifies whether to enable all attributes to be recalled to the screen.

Stereotype

typeStereotype

Stereotype is a concept from UML. It is a tag that indicates to the model how this element should be interpreted. Stereotype allows you to specify what built-in behavior and attributes to inherit.

IsPersistent

typeBoolOrFromOwner

Value Yes indicates that the value of the attribute is stored in the database. If one or more of attributes of an ispec are persistent, a database table is created for an Ispec.

Value FromOwner indicates that it gets value from the MemberPersistence of Owner.

RSNCapable

typeBoolean

Specifies that when the property is set to true, it includes a built-in persistent attribute called identifier from the framework that acts as an auto-incrementing number.

The RSNCapable property can be set when the class has persistent members. The RSNCapable must be set on the base class of an inheritance hierarchy. All subclasses derive the property value from the base class.

DateFormat

xs:string

Specifies the format of dates throughout the segment.

NOFOrder

xs:nonNegativeInteger

Sequence of the NOF layout.

NOFType

xs:string

Type of signed attributes in the NOF layout.

NOFLength

xs:nonNegativeInteger

Represents the size of a control in a fixed presentation.

NOFDecimals

xs:nonNegativeInteger

Specifies the number of decimal places required in the NOF packet. The NOFDecimals property is only available if the Primitive property is set to Number or Signed Number.

IsRequired

typeBoolean

Specify True, if a value must be entered for this attribute. Specify False, if an attribute can be left empty.

MemberPersistence

typeKey

Specifies whether members default to persistent.

By setting the MemberPersistence property of the class, you can create any new attributes in a class:

  • Persistent (IsPersistent = Yes)

  • Not persistent (IsPersistent = No)

IsKey

typeBoolean

Specify Descending or Ascending to indicate that the database records for an ispec are indexed by the value of the attribute in ascending or descending order.

IsExternal

typeBoolean

Specifies whether a class is a proxy to an external one.

IsInner

typeBoolean

Specifies whether a class is functioning as an inner class.

Length

xs:positiveInteger

Number of characters or digits of the value of an attribute.

MemberVisibility

typeVisibility

Specifies the default visibility for new members.

BaseYear

xs:positiveInteger

Base year for date calculations.

CenturyStartYear

xs:nonNegativeInteger

Secondary base year defines which century a date belongs to independent of the value of the base year.

Primitive

typePrimitive

Indicates the kind of data.

Value

xs:string

Initial value of an attribute.

NationalSupport

typeNationalSupport

National String Support: SingleByte, MultiByte, Unicode, or None.

ClearWhenChar

xs:nonNegativeInteger

Clears the content when this character is entered.

RefreshScreen

typeBoolean

Specifies whether the framework construct () method has to be always be called at the end of the segment processing cycle.

DateCompareSetGLBCentuer

typeBoolean

Enables sites to choose whether GLB.CENTURY is reset by a complex DATE.CONVERT command.

Dimensions

typeDimensions

Number of instances of an attribute.

A multiplicity of 1 (one) specifies a single attribute. A multiplicity of more than 1 specifies a vector, and a list of integers separated by commas specifies an array. If you set the Multiplicity of an attribute to 0 it becomes a class or definition.

Validation

typeValidation

Validation rule for comparisons in logic.

Sequence

xs:nonNegativeInteger

Specifies the order in which elements are defined inside a class. For example, the order of the members of Group stereotype is very important, when the Group is used in a string context. Similarly, a sequence is used to dictate the order of parameters in a Method.

CurrencySign

xs:nonNegativeInteger

Specifies the character to be output with EDIT $. Attributes in a report to be modified or added to the selected element. The default value is $.

IsZeroSuppress

typeBoolean

Specifies whether to suppress leading zeros.

IsFullSuppress

typeBoolean

Specifies whether to display a zero numeric value as spaces.

PrintIfPresent

typeBoolean

Results in a line to be printed if an attribute value is not equal to spaces or zeros.

StoreIfPresent

typeBoolean

Attribute value is stored when it is not equal to spaces or zeros.

HasMaint

typeBoolean

Specifies whether or not to include the Maint field in the definition of an External Class.

SeparatorChar

xs:nonNegativeInteger

Separator character used to delimit groups of three digits.

Semantics

typeSemantics

Specifies the semantics to be used by an element. You can select either System Modeler specific or conventional semantics.

AllowPurge

typeBoolean

Allows you to physically delete records using the standard screen. When a record is displayed, an entry of PUR in the Maint field causes a physical deletion to occur.

DefaultCursor

typeID

The id of an element which has the initial focus on the runtime screen.

LeftFillNumerics

typeBoolean

Value for TextAlign of Numerics where TextAlign value is default.

IsFullSuppression

typeBoolean

Displays a zero numeric value as spaces.

IsUpperCase

typeBoolean

Specifies whether the member types should convert to upper case.

VideoCapable

typeBoolean

Specifies whether to direct the output of a report to a video device.

IsCopied

typeBoolean

Specifies whether the CopyFrom characteristic is applied to a graphical object that is bound to an attribute, which is a member of the Copy ispec.

Select True, to enable the graphical object of an attribute to be painted on a form multiple times. The number of copies is dependent on the Copies property of the owning CopyIspec.

LockSign

typeBoolean

Specifies whether a signed field is to be locked.

StandardHeading

typeBoolean

Specifies whether the standard heading is to be printed on each page of report output.

MaintProfile

typeID

Id of the profile that defines the keys to be used for a class.

ReportParameter

typeID

Report attribute that revives the parameter used to invoke the report.

EventSet

typeID

Defines an AutoPersist dependency between two events. This dependency causes all the persistent attributes of this event to persist in the EventSet. The value of the EventSet property must be the name of another event.

DefaultDevice

typeDefaultDevice

Default device or method used for report output.

Integrity

typeIntegrity

Indicates that for ispecs, reports, and profiles, dataset locking must occur automatically. This ensures processing integrity and full synchronized recovery.

LineSpacing

typeLineSpacing

Specifies the line space.

SynchroniseField

typeSynchronise

Synchronizes the width and height of the presentations when the length changes.

Copies

xs:nonNegativeInteger

Number of copies of a class in a CopyFrom ispec.

For example:

<OBJECT Id="3E1A1FD9-A38B-11DF-BA0B-0023AE90FFBE" Name="Class2" 
Owner="36E985D4-A38B-11DF-BA0B-0023AE90FFBE" Description="" 
Visibility="Private" Author="Zhang, Gan Byron" VersionFile="" Primitive="AsClass" 
Stereotype="NoStereotype" Inherits="3E1A1FD8-A38B-11DF-BA0B-0023AE90FFBE" Dimensions="0" 
IsAbstract="No" IsExternal="No" IsInner="No" IsSynchronous="Yes" RSNCapable="No" 
MemberPersistence="No" DateFormat="UK" MemberVisibility="Private" BaseYear="1957" 
CenturyStartYear="0" RefreshScreen="Yes" DateCompareSetGLBCentury="No" AllowPurge="No" 
PrintIfPresent="No" HasMaint="No" CurrencySign="36" PresentationType="" 
DefaultDevice="Object::LinePrinter" EventSet="00000000-0000-0000-0000-000000000000" 
LockSign="No" StandardHeading="Yes" LineSpacing="Single" VideoCapable="No" 
ReportParameter="00000000-0000-0000-0000-000000000000" 
MaintProfile="00000000-0000-0000-0000-000000000000" IsCopied="No" LeftFillNumerics="No">