net.anotheria.asg.data.AbstractFederatedVO Maven / Gradle / Ivy
package net.anotheria.asg.data;
import net.anotheria.util.xml.XMLNode;
/**
* Abstract AbstractFederatedVO class.
*
* @author another
* @version $Id: $Id
*/
public abstract class AbstractFederatedVO implements DataObject{
/**
* toXMLNode.
*
* @return a {@link net.anotheria.util.xml.XMLNode} object.
*/
public XMLNode toXMLNode(){
return new XMLNode("NotImplemented "+getId());
}
/**
* getObjectInfo.
*
* @return a {@link net.anotheria.asg.data.ObjectInfo} object.
*/
public ObjectInfo getObjectInfo(){
ObjectInfo ret = new ObjectInfo(this);
ret.setAuthor("none");
return ret;
}
/**
* clone.
*
* @return a {@link java.lang.Object} object.
* @throws java.lang.CloneNotSupportedException if any.
*/
public abstract Object clone() throws CloneNotSupportedException;
/** {@inheritDoc} */
@Override public int hashCode(){
return getId().hashCode();
}
}