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 String
XML_ATTRIB_ID
static String
XML_ATTRIB_PARAM_KEY
static String
XML_ATTRIB_PARAM_VALUE
static String
XML_ATTRIB_TYPE
static String
XML_ELEMENT
static String
XML_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 String
getId()
Map<String,String>
getParams()
Relation
getRelation()
String
getType()
void
read(Node node)
void
setId(String id)
void
setRelation(Relation relation)
void
setType(String type)
void
write(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
-
-