| 
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Objects for persistent storage should implement this interface.
Freezables should implement a no argument constructor for Serialization.
Freezables should implement a constructor that has the Serializable identifier as the first argument, String role as the second and Mother mom as the third for compatibility with GenericMother.
| Method Summary | |
 Freezable | 
createEvilClone(Mother mom,
                java.lang.String role)
Returns a new instance of a Freezable with the same internal state as this Freezable, but with the new id.  | 
 java.io.Serializable | 
getIdentifier()
Get the identifier for this instance.  | 
 java.lang.String | 
getRole()
Get the role for this instance.  | 
 boolean | 
sameAs(Freezable object)
Returns true if this Freezable represents the samee information as object, and their internal state matches.  | 
 boolean | 
sameIdentifierAs(Freezable object)
Returns true if this Freezable represents the same information as the Freezable object, ie if they have the same identifier.  | 
| Methods inherited from interface net.walend.collection.HasState | 
getPrincipleInterface, sameStateAs | 
| Method Detail | 
public java.io.Serializable getIdentifier()
public java.lang.String getRole()
public boolean sameIdentifierAs(Freezable object)
public boolean sameAs(Freezable object)
public Freezable createEvilClone(Mother mom,
                                 java.lang.String role)
  | 
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||