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 IResourceInfo
strKey
- the keypublic String getKey()
getKey
in interface IResourceInfo
public void setValue(String strValue)
setValue
in interface IResourceInfo
strValue
- the valuepublic String getValue()
getValue
in interface IResourceInfo
public void setListChildren(List<IResourceInfo> listChildren)
setListChildren
in interface IResourceInfo
listChildren
- the list of childrenpublic List<IResourceInfo> getListChildren()
getListChildren
in interface IResourceInfo
public boolean hasChildren()
hasChildren
in interface IResourceInfo
Copyright © 2021 City of Paris. All rights reserved.