public class XmlProperty extends Object
Constructor and Description |
---|
XmlProperty()
Creates a new instance of XmlProperty.
|
XmlProperty(String name)
Creates a new instance of XmlProperty.
|
XmlProperty(String name,
Map<String,String> attributes) |
Modifier and Type | Method and Description |
---|---|
Map<String,String> |
getAttributes() |
int |
getGroupingNum()
Getter for property id.
|
int |
getId()
Getter for property id.
|
String |
getName()
Getter for property name.
|
XmlLogs |
getXmlLogs()
Getter for property's XmlLogs.
|
void |
setAttributes(Map<String,String> attributes) |
void |
setGroupingNum(int groupingNum)
Setter for property id.
|
void |
setId(int id)
Setter for property id.
|
void |
setName(String name)
Setter for property name.
|
void |
setXmlLogs(XmlLogs logs)
Setter for property's XmlLogs.
|
static String |
toLog(XmlProperty data)
Creates a compact string representation for the log.
|
public XmlProperty()
public XmlProperty(String name)
name
- value
- public int getId()
public void setId(int id)
id
- property idpublic int getGroupingNum()
public void setGroupingNum(int groupingNum)
id
- property idpublic String getName()
public void setName(String name)
name
- property namepublic void setAttributes(Map<String,String> attributes)
attributes
- the attributes to setpublic XmlLogs getXmlLogs()
public void setXmlLogs(XmlLogs logs)
logs
- XmlLogs objectpublic static String toLog(XmlProperty data)
data
- the XmlProperty to logCopyright © 2010-2014 Michigan State University. All Rights Reserved.