|
Copyright © 2000, 2008, Oracle and/or its affiliates. All rights reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
@Deprecated public interface Belonging
A Belonging is a lightweight, local value that can be 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 object. Objects that have a stereotype of Belonging will automatically have a SmartHome and Base Implementation class generated by the SmartGenerator.
BelongingImpl,
SmartHome| Method Summary | |
|---|---|
Object |
clone()
Deprecated Returns a shallow copy of the Belonging instance. |
boolean |
equals(Object anObject)
Deprecated Indicates whether some other Belonging is equivalent to this Belonging. |
String |
interfaceName()
Deprecated Returns the unqualified name of the interface as specified in the UML model. |
void |
setByValue(Belonging value)
Deprecated Intializes the Belonging based upon a supplied Belonging. |
Belonging |
value()
Deprecated Returns a type safe shallow copy of the Belonging instance. |
| Methods inherited from interface java.lang.Comparable |
|---|
compareTo |
| Method Detail |
|---|
boolean equals(Object anObject)
equals in class Objecto - the Object to be compared.
ClassCastException - if the specified object is not of the same
type as this Belonging.Belonging value()
Object clone()
String interfaceName()
void setByValue(Belonging value)
Belonging based upon a supplied Belonging.
belonging - The Belonging to use for initialization.
|
Copyright © 2000, 2008, Oracle and/or its affiliates. All rights reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||