uk.co.lakesidetech.springxmldb.data
Class XMLDBContentInfo
java.lang.Object
uk.co.lakesidetech.springxmldb.data.XMLDBContentInfo
- public class XMLDBContentInfo
- extends java.lang.Object
Simple POJO containing data on a content (resource or collection) of a collection
in a XMLDatabase
- Author:
- Stuart Eccles
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XMLDBContentInfo
public XMLDBContentInfo(XMLDBResourceInfo resourceInfo)
XMLDBContentInfo
public XMLDBContentInfo(XMLDBCollectionInfo collectionInfo)
isCollection
public boolean isCollection()
- Returns:
- Returns the collection.
getCollectionInfo
public XMLDBCollectionInfo getCollectionInfo()
- Returns:
- Returns the collectionInfo.
isResource
public boolean isResource()
- Returns:
- Returns the resource.
getResourceInfo
public XMLDBResourceInfo getResourceInfo()
- Returns:
- Returns the resourceInfo.