public abstract class FacetImpl extends EntityImpl implements Facet
| Modifier and Type | Field and Description |
|---|---|
protected Map<String,Object> |
additionalProperties |
protected Set<String> |
allowedAdditionalKeys |
DESCRIPTION, NAME, VERSIONHEADER_PROPERTYCLASS_PROPERTY, SUPERCLASSES_PROPERTY| Modifier | Constructor and Description |
|---|---|
protected |
FacetImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
addAllowedAdditionalKey(String allowedAdditionalKey) |
Map<String,Object> |
getAdditionalProperties()
Return all properties.
|
Object |
getAdditionalProperty(String key)
Return the value of the given property.
|
void |
setAdditionalProperties(Map<String,Object> additionalProperties)
Set all properties, replacing existing ones
|
void |
setAdditionalProperty(String key,
Object value)
Set the value of the given property.
|
toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic Map<String,Object> getAdditionalProperties()
FacetgetAdditionalProperties in interface Facetpublic void setAdditionalProperties(Map<String,Object> additionalProperties)
FacetsetAdditionalProperties in interface Facetpublic Object getAdditionalProperty(String key)
FacetgetAdditionalProperty in interface Facetkey - the key of the requested propertypublic void setAdditionalProperty(String key, Object value)
FacetsetAdditionalProperty in interface Facetkey - the key of the requested propertyvalue - the value of the given resource propertypublic void addAllowedAdditionalKey(String allowedAdditionalKey)
Copyright © 2018. All Rights Reserved.