IEntity.java :  » Game » starcorp » starcorp » common » entities » Java Open Source

Java Open Source » Game » starcorp 
starcorp » starcorp » common » entities » IEntity.java
package starcorp.common.entities;

import java.io.IOException;
import java.io.Writer;

import org.dom4j.Element;

public interface IEntity {

  public abstract void readXML(Element e);

  public abstract Element toBasicXML(Element parent);

  public abstract Element toFullXML(Element parent);

  public abstract long getID();

  public abstract void setID(long id);

  public abstract void printXML(Writer out) throws IOException;

  public abstract int getVersion();

  public abstract void setVersion(int version);

  public abstract String getDisplayName();
}
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.