ResourceGroup

public class ResourceGroup extends Resource

Fields

CREATOR

public static final Parcelable.Creator<ResourceGroup> CREATOR

mChildren

protected List<Resource> mChildren

mChildrenLoaded

protected boolean mChildrenLoaded

Constructors

ResourceGroup

public ResourceGroup(long remoteId, Connection connection)

Methods

addResource

protected void addResource(JSONObject data)

getChild

public INGWResource getChild(int i)

getChildrenCount

public int getChildrenCount()

getResourceById

public INGWResource getResourceById(int id)

getType

protected int getType(JSONObject data)

isChildrenLoaded

public boolean isChildrenLoaded()

loadChildren

public void loadChildren()

setConnection

public void setConnection(Connection connection)

setLoadChildren

public void setLoadChildren(boolean loadChildren)

writeToParcel

public void writeToParcel(Parcel parcel, int i)