public interface Resource
Modifier and Type | Interface and Description |
---|---|
static class |
Resource.InternalType
Enum of internal types.
|
static class |
Resource.Type
Resource types.
|
Modifier and Type | Method and Description |
---|---|
void |
addCategory(String id)
Add an empty category to this resource.
|
Map<String,Map<String,Object>> |
getPropertiesMap()
Obtain the properties contained by this group in a map structure.
|
Object |
getPropertyValue(String id)
Get a property value for the given property id from this resource.
|
Resource.Type |
getType()
Get the resource type.
|
void |
setProperty(String id,
Object value)
Set a property value for the given property id on this resource.
|
Resource.Type getType()
Map<String,Map<String,Object>> getPropertiesMap()
void setProperty(String id, Object value)
id
- the property idvalue
- the valuevoid addCategory(String id)
id
- the category idCopyright © 2022 Apache Software Foundation. All rights reserved.