public class EntryRep extends Object implements Serializable, Cloneable
This class only has a bare minimum of methods, to minimize the amount of code downloaded into clients.
Modifier and Type | Field and Description |
---|---|
String |
codebase
The codebase of the entry class.
|
EntryClass |
eclass
The Class of the Entry converted to EntryClass.
|
Object[] |
fields
The public fields of the Entry, each converted as necessary to
a MarshalledWrapper (or left as is if of known java.lang immutable
type).
|
Constructor and Description |
---|
EntryRep(Entry entry)
Converts an Entry to an EntryRep.
|
Modifier and Type | Method and Description |
---|---|
Object |
clone()
Deep clone (which just means cloning the fields array too).
|
boolean |
equals(Object obj)
EntryReps are equal if they have the same class and the fields
are pairwise equal.
|
Entry |
get()
Convert back to an Entry.
|
int |
hashCode() |
static Entry[] |
toEntry(EntryRep[] reps)
Converts an array of EntryRep to an array of Entry.
|
static EntryRep[] |
toEntryRep(Entry[] entries,
boolean needCodebase)
Converts an array of Entry to an array of EntryRep.
|
String |
toString() |
public EntryClass eclass
public String codebase
public Object[] fields
public EntryRep(Entry entry) throws RemoteException
RemoteException
public Entry get()
public boolean equals(Object obj)
public Object clone()
public static EntryRep[] toEntryRep(Entry[] entries, boolean needCodebase) throws RemoteException
RemoteException
Copyright © GigaSpaces.