Class RelationObject
- java.lang.Object
-
- com.openindex.openestate.tool.utils.RelationObject
-
public class RelationObject extends Object
RelationObject.- Author:
- Andreas Rudolph
-
-
Field Summary
Fields Modifier and Type Field Description static StringXML_ATTRIB_IDstatic StringXML_ATTRIB_PARAM_KEYstatic StringXML_ATTRIB_PARAM_VALUEstatic StringXML_ATTRIB_TYPEstatic StringXML_ELEMENTstatic StringXML_ELEMENT_PARAM
-
Constructor Summary
Constructors Constructor Description RelationObject(Relation relation, String id, String type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetId()Map<String,String>getParams()RelationgetRelation()StringgetType()voidread(Node node)voidsetId(String id)voidsetRelation(Relation relation)voidsetType(String type)voidwrite(Writer writer)
-
-
-
Field Detail
-
XML_ELEMENT
public static final String XML_ELEMENT
- See Also:
- Constant Field Values
-
XML_ELEMENT_PARAM
public static final String XML_ELEMENT_PARAM
- See Also:
- Constant Field Values
-
XML_ATTRIB_ID
public static final String XML_ATTRIB_ID
- See Also:
- Constant Field Values
-
XML_ATTRIB_TYPE
public static final String XML_ATTRIB_TYPE
- See Also:
- Constant Field Values
-
XML_ATTRIB_PARAM_KEY
public static final String XML_ATTRIB_PARAM_KEY
- See Also:
- Constant Field Values
-
XML_ATTRIB_PARAM_VALUE
public static final String XML_ATTRIB_PARAM_VALUE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getId
public String getId()
-
getRelation
public Relation getRelation()
-
getType
public String getType()
-
read
public void read(Node node)
-
setId
public void setId(String id)
-
setRelation
public void setRelation(Relation relation)
-
setType
public void setType(String type)
-
write
public void write(Writer writer) throws IOException
- Throws:
IOException
-
-