Site Navigation:

ULM.gen Meta Model

Package uclass

Class Association

This class inherits common.Item.

Association

Target

Cardinality

Documentation

+ role1

uclass.Role

1..1

+ role2

uclass.Role

1..1

Class Attribute

The attribute of a class. This class inherits uclass.Member.

Attribute

Type

Documentation

+ initialValue

String

The initial value of this attribute for new instances.

+ derived

boolean

A derived attribute.

Class Member

A class member: attribute or operation. Note: an association's role is similar to a member, and often implemented as an attribute. This class inherits common.Item.

Attribute

Type

Documentation

 

+ visibility

String

A UML visibility is a string "+" "#" "-", the empty string may also be used.

 

+ classMember

boolean

A class member is shared by all instances of a class. In Java or C++ it is called "static".

 

Association

Target

Cardinality

Documentation

+ typeSpec

uclass.TypeSpec

1..1

The type for the member.

Class Operation

The operation of a class. This class inherits uclass.Member.

Attribute

Type

Documentation

+ abstract

boolean

An abstract operation cannot be called.

Operation

Documentation

 

+ opname()

 

Class Parameter

An operation's parameter. This class inherits common.Item.

Attribute

Type

Documentation

 

+ initialValue

String

The initial value of this parameter it not provided by the caller.

 

Association

Target

Cardinality

Documentation

+ typeSpec

uclass.TypeSpec

1..1

The type for the parameter.

Class Role

One of the roles of an association. This class inherits uclass.Member.

Attribute

Type

Documentation

 

+ navigable

boolean

 

+ aggregate

boolean

 

+ cardMin

int

 

+ cardMax

int

 

Association

Target

Cardinality

Documentation

+ target

uclass.UClass

1..1

Class TypeSpec

The specification for a type can be a simple name (for a type such as a primitive type that is not modeled), or a class.

Attribute

Type

Documentation

 

+ name

String

The name for the type. If the type specification is a class, the name is not provided.

 

Association

Target

Cardinality

Documentation

+ typeClass

uclass.UClass

0..1

Class UClass

A UML class. Can be a child of a package, or embeded inside another class. An interface is just a class with the stereotype "interface". This class inherits common.Item.

Attribute

Type

Documentation

 

+ abstract

boolean

An abstract class cannot have instance.

 

Association

Target

Cardinality

Documentation

+ inherited

uclass.UClass

0..*

Inherited classes. Warning: some langages forbid to use multiple inheritance. An interface can only inherit from interfaces. A class can only inherit from classes.

+ realized

uclass.UClass

0..*

Realized interfaces. Only a class can realize interfaces.