Domain Objects - User
  • The User (Code Sample 1)
  • Objects are defined with the keyword interface
  • Consist of:
    • A set of operations (that is methods) that the object supports
    • A set of attributes (member variables) that the object has.
    • E.g. User begins with an attribute of type string called userid
      • Note that is further qualified as readonly
      • What is meant by string?
      • string is a primitive IDL type
      • It has a precise formal definition, but roughly means a sequence of characters

Next Slide >>