org.apache.jetspeed.cluster
Class NodeInformationImpl

java.lang.Object
  extended by org.apache.jetspeed.cluster.NodeInformationImpl
All Implemented Interfaces:
Serializable, org.apache.jetspeed.cluster.NodeInformation

public class NodeInformationImpl
extends Object
implements org.apache.jetspeed.cluster.NodeInformation, Serializable

Node Information

Version:
Author:
Hajo Birthelmer
See Also:
Serialized Form

Field Summary
private static int CompressVersion
           
private  String contextName
           
private  Long id
           
private  Date lastDeployDate
           
(package private) static long serialVersionUID
           
 
Constructor Summary
NodeInformationImpl()
          default class construtor required for bean management
 
Method Summary
 int compareTo(org.apache.jetspeed.cluster.NodeInformation object)
           
 int compareTo(Object object)
           
 boolean equals(org.apache.jetspeed.cluster.NodeInformation object)
           
 boolean equals(Object object)
           
 String getContextName()
           
 Long getId()
           
 Date getLastDeployDate()
           
private  void readObject(ObjectInputStream in)
          extensible serialization routine using the version byte code can identify older versions and handle updates correctly
 void setContextName(String contextName)
           
 void setId(long id)
           
 void setId(Long id)
           
 void setId(org.apache.pluto.om.common.ObjectID id)
           
 void setLastDeployDate(Date lastDeployDate)
           
 String toString()
           
private  void writeObject(ObjectOutputStream out)
          extensible serialization routine - indicates the version written to allow for later structural updates
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

serialVersionUID

static final long serialVersionUID
See Also:
Constant Field Values

id

private Long id

contextName

private String contextName

lastDeployDate

private Date lastDeployDate

CompressVersion

private static final int CompressVersion
See Also:
Constant Field Values
Constructor Detail

NodeInformationImpl

public NodeInformationImpl()
default class construtor required for bean management

Method Detail

writeObject

private void writeObject(ObjectOutputStream out)
                  throws IOException
extensible serialization routine - indicates the version written to allow for later structural updates

Throws:
IOException

readObject

private void readObject(ObjectInputStream in)
                 throws IOException,
                        ClassNotFoundException
extensible serialization routine using the version byte code can identify older versions and handle updates correctly

Throws:
IOException
ClassNotFoundException

equals

public boolean equals(Object object)
Overrides:
equals in class Object

compareTo

public int compareTo(Object object)

equals

public final boolean equals(org.apache.jetspeed.cluster.NodeInformation object)

compareTo

public final int compareTo(org.apache.jetspeed.cluster.NodeInformation object)

toString

public String toString()
Specified by:
toString in interface org.apache.jetspeed.cluster.NodeInformation
Overrides:
toString in class Object

getContextName

public String getContextName()
Specified by:
getContextName in interface org.apache.jetspeed.cluster.NodeInformation

setContextName

public void setContextName(String contextName)
Specified by:
setContextName in interface org.apache.jetspeed.cluster.NodeInformation

getId

public Long getId()
Specified by:
getId in interface org.apache.jetspeed.cluster.NodeInformation

setId

public void setId(org.apache.pluto.om.common.ObjectID id)
Specified by:
setId in interface org.apache.jetspeed.cluster.NodeInformation

setId

public void setId(Long id)
Specified by:
setId in interface org.apache.jetspeed.cluster.NodeInformation

setId

public void setId(long id)
Specified by:
setId in interface org.apache.jetspeed.cluster.NodeInformation

getLastDeployDate

public Date getLastDeployDate()
Specified by:
getLastDeployDate in interface org.apache.jetspeed.cluster.NodeInformation

setLastDeployDate

public void setLastDeployDate(Date lastDeployDate)
Specified by:
setLastDeployDate in interface org.apache.jetspeed.cluster.NodeInformation


Copyright © 1999-2007 Apache Software Foundation. All Rights Reserved.