Package org.exoplatform.services.rest
Class BaseObjectModel
java.lang.Object
org.exoplatform.services.rest.BaseObjectModel
- All Implemented Interfaces:
ObjectModel
- Direct Known Subclasses:
AbstractResourceDescriptorImpl,FilterDescriptorImpl,ProviderDescriptorImpl
- Version:
- $Id$
- Author:
- Andrey Parfonov
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final Class<?> protected final List<ConstructorDescriptor> Resource class constructors.protected final List<FieldInjector> Resource class fields.protected MultivaluedMapImplOptional data. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
clazz
-
constructors
Resource class constructors. -
fields
Resource class fields. -
properties
Optional data.
-
-
Constructor Details
-
BaseObjectModel
-
-
Method Details
-
getObjectClass
- Specified by:
getObjectClassin interfaceObjectModel- Returns:
Classof object
-
getConstructorDescriptors
- Specified by:
getConstructorDescriptorsin interfaceObjectModel- Returns:
- collections constructor, return empty collection not null if
object is singleton. There is no setter for this to add new
ConstructorInjector use
ObjectModel.getConstructorDescriptors().add(ConstructorInjector)
-
getFieldInjectors
- Specified by:
getFieldInjectorsin interfaceObjectModel- Returns:
- collections of object fields, return empty collection not null if
object is singleton. There is no setter for this to add new
ConstructorInjector use
ObjectModel.getFieldInjectors().add(FieldInjector)
-
getProperties
Optional attributes.- Specified by:
getPropertiesin interfaceObjectModel- Returns:
- all properties. If there is no any optional attributes then empty
map returned never
null
-
getProperty
- Specified by:
getPropertyin interfaceObjectModel- Parameters:
key-- Returns:
- property by key
- See Also:
-