BEA Systems, Inc.

theory.smart.foundation
Interface Belonging

All Known Subinterfaces:
Address, CreditCard, Email, ItemByDegree, JournalEntry, Locator, Message, OrderLine, PhoneNumber, PostalCode, Price, PurchasedOrderLine, Quality, Quantity, State, Suggestion, Suggestions, Transition, Unit, UnitCategories, UnitPrice, Url
All Known Implementing Classes:
BelongingImpl

public interface Belonging
extends BusinessSmartComponent, com.sun.java.util.collections.Comparable

A Belonging is the simplest form of Business Smart Component. It is a lightweight, local value that can serialized. A Belonging must "belong" to another object. That object must have the only reference to that Belonging. For this reason the "value" of the Belonging must make a copy of the object that it will return. Belongings must be allocated from a corresponding SmartHome. Objects that have a stereotype of Belonging will automatically have a Smart Home and Base Implemenation class generated by the Theory's SmartGenerator. @see theory.smart.foundation.BelongingImpl

See Also:
SmartHome

Method Summary
 boolean equals(java.lang.Object anObject)
           
 Belonging value()
           
 
Methods inherited from interface com.sun.java.util.collections.Comparable
compareTo
 

Method Detail

equals

public boolean equals(java.lang.Object anObject)
Overrides:
equals in class java.lang.Object

value

public Belonging value()

BEA Systems, Inc.

Copyright © 2000 BEA Systems, Inc. All Rights Reserved