|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.rest.business.resourceinfo.AbstractResourceInfo<E>
E - the resource classpublic abstract class AbstractResourceInfo<E>
AbstractResourceInfo
| Constructor Summary | |
|---|---|
AbstractResourceInfo()
|
|
| 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 |
abstract void |
setResourceInfo(E resource)
Set the resource info |
void |
setValue(java.lang.String strValue)
Set the value |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractResourceInfo()
| Method Detail |
|---|
public abstract void setResourceInfo(E resource)
resource - the resourcepublic void setKey(java.lang.String strKey)
setKey in interface IResourceInfostrKey - the keypublic java.lang.String getKey()
getKey in interface IResourceInfopublic void setValue(java.lang.String strValue)
setValue in interface IResourceInfostrValue - the valuepublic java.lang.String getValue()
getValue in interface IResourceInfopublic void setListChildren(java.util.List<IResourceInfo> listChildren)
setListChildren in interface IResourceInfolistChildren - the list of childrenpublic java.util.List<IResourceInfo> getListChildren()
getListChildren in interface IResourceInfopublic boolean hasChildren()
hasChildren in interface IResourceInfo
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||