openSEAL Stereotypes Reference: <<Type>>
type is a data structure that encapsulates the properties
of an entity within your application (hence it is
sometimes also referred to as an Entity).
- Public accessors (getters) and mutators (setters).
- Lightweight, with little or no logic.
Generally passed into or out of Service Methods (therefore
crosses process and tier boundaries). Types are usually
compiled into a separate library assembly that can be
deployed wherever required (such as in a business tier
and a web tier).
/// Hello world Type.
public sealed class HelloWorldType
private string message_;
/// Default constructor.
//initialize the message
message_ = "Hello World!";
/// Property exposing the message.
public string Message
message_ = value;
} // end of class
} // end of namespace