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 |
---|---|
boolean |
equals(Object obj) |
Map<String,String> |
getAttributes() |
int |
getGroupingNum()
Getter for property id.
|
Long |
getId()
Getter for property id.
|
Logs |
getLogs()
Getter for property's Logs.
|
String |
getName()
Getter for property name.
|
int |
hashCode() |
void |
setAttributes(Map<String,String> attributes) |
void |
setGroupingNum(int groupingNum)
Setter for property id.
|
void |
setId(Long id)
Setter for property id.
|
void |
setLogs(Logs logs)
Setter for property's Logs.
|
void |
setName(String name)
Setter for property name.
|
static String |
toLogger(XmlProperty data)
Creates a compact string representation for the log.
|
Property |
toProperty() |
public XmlProperty()
public XmlProperty(String name)
name
- value
- public Long getId()
public void setId(Long 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 Logs getLogs()
public void setLogs(Logs logs)
logs
- Logs objectpublic Property toProperty()
public static String toLogger(XmlProperty data)
data
- the XmlProperty to logCopyright © 2010-2014 Michigan State University. All Rights Reserved.