public class RelationObject extends Object
Modifier and Type | Field and 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 and Description |
---|
RelationObject(Relation relation,
String id,
String type) |
Modifier and Type | Method and 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) |
public static final String XML_ELEMENT
public static final String XML_ELEMENT_PARAM
public static final String XML_ATTRIB_ID
public static final String XML_ATTRIB_TYPE
public static final String XML_ATTRIB_PARAM_KEY
public static final String XML_ATTRIB_PARAM_VALUE
public String getId()
public Relation getRelation()
public String getType()
public void read(Node node)
public void setId(String id)
public void setRelation(Relation relation)
public void setType(String type)
public void write(Writer writer) throws IOException
IOException
Copyright © 2019 OpenEstate. All rights reserved.