fr.paris.lutece.plugins.rest.business.resourceinfo
Interface IResourceInfo

All Known Implementing Classes:
AbstractResourceInfo, ResourceInfo

public interface IResourceInfo

IResourceInfo


Method Summary
 java.lang.String getKey()
          Get the key
 java.util.List<IResourceInfo> getListChildren()
          Get the list of children
 java.lang.String getValue()
          Get the value
 boolean hasChildren()
          Check if the resource info has children
 void setKey(java.lang.String strKey)
          Set the key
 void setListChildren(java.util.List<IResourceInfo> listChildren)
          Set the list of children
 void setValue(java.lang.String strValue)
          Set the value
 

Method Detail

setKey

void setKey(java.lang.String strKey)
Set the key

Parameters:
strKey - the key

getKey

java.lang.String getKey()
Get the key

Returns:
the key

setValue

void setValue(java.lang.String strValue)
Set the value

Parameters:
strValue - the value

getValue

java.lang.String getValue()
Get the value

Returns:
the value

setListChildren

void setListChildren(java.util.List<IResourceInfo> listChildren)
Set the list of children

Parameters:
listChildren - the list of children

getListChildren

java.util.List<IResourceInfo> getListChildren()
Get the list of children

Returns:
the list of children

hasChildren

boolean hasChildren()
Check if the resource info has children

Returns:
true if it has children, false otherwise


Copyright © 2011 Mairie de Paris. All Rights Reserved.