public abstract class FacetImpl extends EntityImpl implements Facet
| Modifier and Type | Field and Description |
|---|---|
protected Map<String,Object> |
additionalProperties |
protected static Set<String> |
allowedAdditionalKeys
Used to allow to have an additional property starting with '_' or '@'
|
headerDESCRIPTION, NAME, VERSIONHEADER_PROPERTY| Constructor and Description |
|---|
FacetImpl() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
void |
validate() |
compareTo, getHeader, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcompareTopublic void validate()
throws InvalidFacet
validate in interface Entityvalidate in interface FacetInvalidFacetpublic 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 propertyCopyright © 2016. All Rights Reserved.