org.wso2.carbon.registry.ws.api
Class WSCollection

java.lang.Object
  extended by org.wso2.carbon.registry.ws.api.WSResource
      extended by org.wso2.carbon.registry.ws.api.WSCollection

public class WSCollection
extends WSResource

The WSCollection class is a web service compatible version of the Collection class. It is used to represent the difference between a WSResource and WSCollection.


Field Summary
protected  int childCount
           
protected  String[] children
           
 
Fields inherited from class org.wso2.carbon.registry.ws.api.WSResource
name, pathID, tenantId
 
Constructor Summary
WSCollection()
           
 
Method Summary
 int getChildCount()
          Returns the child count of the Collection
 String[] getChildren()
          Returns the children of the Collection
 void setChildCount(int childCount)
          Sets the child count of the Collection
 void setChildren(String[] children)
          Sets the children of the Collection
 
Methods inherited from class org.wso2.carbon.registry.ws.api.WSResource
getAuthorUserName, getContentFile, getCreatedTime, getDbBasedContentID, getDescription, getId, getLastModified, getLastUpdaterUserName, getMatchingSnapshotID, getMediaType, getName, getParentPath, getPath, getPathID, getPermanentPath, getProperties, getSnapshotID, getState, getTenantId, getUserName, getUUID, getVersionNumber, isCollection, isDirectory, isPropertiesModified, isVersionableChange, setAuthorUserName, setCollection, setContentFile, setCreatedTime, setDbBasedContentID, setDescription, setDirectory, setId, setLastModified, setLastUpdaterUserName, setMatchingSnapshotID, setMediaType, setName, setParentPath, setPath, setPathID, setPermanentPath, setProperties, setPropertiesModified, setSnapshotID, setState, setTenantId, setUserName, setUUID, setVersionableChange, setVersionNumber
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

childCount

protected int childCount

children

protected String[] children
Constructor Detail

WSCollection

public WSCollection()
Method Detail

getChildCount

public int getChildCount()
Returns the child count of the Collection

Returns:
child count

setChildCount

public void setChildCount(int childCount)
Sets the child count of the Collection

Parameters:
childCount - child count

getChildren

public String[] getChildren()
Returns the children of the Collection

Returns:
child resource paths.

setChildren

public void setChildren(String[] children)
Sets the children of the Collection

Parameters:
children - child resource paths.


Copyright © 2012 WSO2 Inc. All Rights Reserved.