package ever.workflowRepresentation; import javax.xml.stream.XMLStreamException; import javax.xml.stream.XMLStreamWriter; public abstract class Facet { /** * Facet objects contain additional information about a task or a product. The simplest version is pair definition-value */ /** * Writes the xml representation of the facet to the XmlStreamWriter * @param writer * @throws XMLStreamException */ public abstract void exportWf2Xml(XMLStreamWriter writer) throws XMLStreamException; @Override public abstract int hashCode(); @Override public abstract boolean equals(Object obj); }