org.apache.jetspeed.cluster
Class NodeInformationImpl
java.lang.Object
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
Constructor Summary |
NodeInformationImpl()
default class construtor required for bean management |
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
NodeInformationImpl
public NodeInformationImpl()
- default class construtor required for bean management
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.