public class XmlGroup extends Object implements Serializable, Comparable<XmlGroup>, Cloneable
Modifier and Type | Method and Description |
---|---|
void |
addXmlObject(XmlObject xmlObject)
Adds a new XML object.
|
XmlGroup |
clone() |
int |
compareTo(XmlGroup obj) |
boolean |
equals(Object obj) |
String |
getIfType()
Gets the if type.
|
String |
getKeyXpath()
Gets the key XPath (for resource instance).
|
String |
getName()
Gets the name.
|
String |
getResourceType()
Gets the resource type.
|
String |
getResourceXpath()
Gets the resource XPath.
|
String |
getTimestampFormat()
Gets the timestamp format.
|
String |
getTimestampXpath()
Gets the timestamp XPath.
|
List<XmlObject> |
getXmlObjects()
Gets the XML objects.
|
XmlResourceKey |
getXmlResourceKey()
Gets the XML resource key.
|
boolean |
hasMultipleResourceKey()
Checks for multiple resource key.
|
void |
removeObjectByName(String name)
Removes a XML object by name.
|
void |
removeXmlObject(XmlObject xmlObject)
Removes a XML object.
|
void |
setKeyXpath(String keyXpath)
Sets the key XPath.
|
void |
setName(String name)
Sets the name.
|
void |
setResourceType(String resourceType)
Sets the resource type.
|
void |
setResourceXpath(String resourceXpath)
Sets the resource XPath.
|
void |
setTimestampFormat(String timestampFormat)
Sets the timestamp format.
|
void |
setTimestampXpath(String timestampXpath)
Sets the timestamp XPath.
|
void |
setXmlObjects(List<XmlObject> xmlObjects)
Sets the XML objects.
|
void |
setXmlResourceKey(XmlResourceKey xmlResourceKey)
Sets the XML resource key.
|
public XmlGroup()
public XmlGroup(XmlGroup copy)
public String getName()
public void setName(String name)
name
- the new namepublic void setXmlObjects(List<XmlObject> xmlObjects)
xmlObjects
- the new XML objectspublic void addXmlObject(XmlObject xmlObject)
xmlObject
- the XML objectpublic void removeXmlObject(XmlObject xmlObject)
xmlObject
- the XML objectpublic void removeObjectByName(String name)
name
- the XML object namepublic String getResourceType()
public void setResourceType(String resourceType)
resourceType
- the new resource typepublic String getResourceXpath()
public void setResourceXpath(String resourceXpath)
resourceXpath
- the new resource XPathpublic String getKeyXpath()
public void setKeyXpath(String keyXpath)
keyXpath
- the new key XPathpublic String getTimestampXpath()
public void setTimestampXpath(String timestampXpath)
timestampXpath
- the new timestamp XPathpublic String getTimestampFormat()
public void setTimestampFormat(String timestampFormat)
timestampFormat
- the new timestamp formatpublic String getIfType()
public XmlResourceKey getXmlResourceKey()
public void setXmlResourceKey(XmlResourceKey xmlResourceKey)
xmlResourceKey
- the new XML resource keypublic boolean hasMultipleResourceKey()
public int compareTo(XmlGroup obj)
compareTo
in interface Comparable<XmlGroup>
Copyright © 2021. All rights reserved.