E - the resource classpublic abstract class AbstractResourceInfo<E> extends Object implements IResourceInfo
| Constructor and Description |
|---|
AbstractResourceInfo() |
| Modifier and Type | Method and Description |
|---|---|
String |
getKey()
Get the key
|
List<IResourceInfo> |
getListChildren()
Get the list of children
|
String |
getValue()
Get the value
|
boolean |
hasChildren()
Check if the resource info has children
|
void |
setKey(String strKey)
Set the key
|
void |
setListChildren(List<IResourceInfo> listChildren)
Set the list of children
|
abstract void |
setResourceInfo(E resource)
Set the resource info
|
void |
setValue(String strValue)
Set the value
|
public abstract void setResourceInfo(E resource)
resource - the resourcepublic void setKey(String strKey)
setKey in interface IResourceInfostrKey - the keypublic String getKey()
getKey in interface IResourceInfopublic void setValue(String strValue)
setValue in interface IResourceInfostrValue - the valuepublic String getValue()
getValue in interface IResourceInfopublic void setListChildren(List<IResourceInfo> listChildren)
setListChildren in interface IResourceInfolistChildren - the list of childrenpublic List<IResourceInfo> getListChildren()
getListChildren in interface IResourceInfopublic boolean hasChildren()
hasChildren in interface IResourceInfoCopyright © 2021 City of Paris. All rights reserved.