abstract class AbstractProxy extends Object implements ReferentUuid, Serializable
Modifier and Type | Field and Description |
---|---|
private static long |
serialVersionUID |
(package private) NormServer |
server
The server.
|
(package private) Uuid |
uuid
The unique identifier for this proxy.
|
Constructor and Description |
---|
AbstractProxy(NormServer server,
Uuid uuid)
Creates an instance of this class.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object object)
Returns true if the object has the same UUID as this instance.
|
Uuid |
getReferentUuid()
Return the
Uuid that has been assigned to the
resource this proxy represents. |
int |
hashCode()
Returns a hash code for this object.
|
private void |
readObject(ObjectInputStream in)
Require fields to be non-null.
|
private void |
readObjectNoData()
Require fields to be non-null.
|
private static final long serialVersionUID
final NormServer server
final Uuid uuid
AbstractProxy(NormServer server, Uuid uuid)
private void readObjectNoData() throws InvalidObjectException
InvalidObjectException
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException
IOException
ClassNotFoundException
public boolean equals(Object object)
public int hashCode()
public Uuid getReferentUuid()
ReferentUuid
Uuid
that has been assigned to the
resource this proxy represents.getReferentUuid
in interface ReferentUuid
Uuid
associated with the
resource this proxy represents. Will not
return null
.Copyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.