Type OclType

All Supertypes:
OclAny

Predefined type OclType
extends OclAny

All types defined in the business model (type or enumeration) or pre-defined within Xion (as collections), have a type. This type is an instance of the Xion type called OclType.


Operation Summary
 Set allInstances
          The set of all instances of this type, and all its subtypes in existence at the snapshot at the time that the expression is evaluated.
 Set associationEnds
          The set of names of the navigable association ends of this type.
 Set attributes
          The set of names of the atttributes of this type.
 OclAny fromParam(String parameterName)
          Retreives a GET or POST parameter thanks to its name.
 String name
          The name of this type.
 Set operations
          The set of names of the operations of this type.
 String toString
          A character string giving the qualified name of the type.
 
Operations inherited from type OclAny
=, <>, oclAsType, oclIsKindOf, oclIsTypeOf
 

Operations Detail

name

 public String name
The name of this type.

attributes

 public Set attributes
The set of names of the atttributes of this type.

associationEnds

 public Set associationEnds
The set of names of the navigable association ends of this type.

operations

 public Set operations
The set of names of the operations of this type.

allInstances

 public Set allInstances
The set of all instances of this type, and all its subtypes in existence at the snapshot at the time that the expression is evaluated.

toString

 public String toString
A character string giving the qualified name of the type. The package indirections is given by the :: sequence. Each type defined in the business model has a package.
 

fromParam

 public OclAny fromParam(String parameterName)
Retreives a GET or POST parameter thanks to its name.
The return type is the type defined by the basic object; for instance Integer.fromParam('param1') returns an Integer.For a collection, the [] characters must not appear in the parameter name; for instance Set(String).fromParam('chosen').


Copyright 1999-2002 ObjeXion Software SA. All rights reserved.