Class BaseObjectModel

java.lang.Object
org.exoplatform.services.rest.BaseObjectModel
All Implemented Interfaces:
ObjectModel
Direct Known Subclasses:
AbstractResourceDescriptorImpl, FilterDescriptorImpl, ProviderDescriptorImpl

public abstract class BaseObjectModel extends Object implements ObjectModel
Version:
$Id$
Author:
Andrey Parfonov
  • Field Details

  • Constructor Details

  • Method Details

    • getObjectClass

      public Class<?> getObjectClass()
      Specified by:
      getObjectClass in interface ObjectModel
      Returns:
      Class of object
    • getConstructorDescriptors

      public List<ConstructorDescriptor> getConstructorDescriptors()
      Specified by:
      getConstructorDescriptors in interface ObjectModel
      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

      public List<FieldInjector> getFieldInjectors()
      Specified by:
      getFieldInjectors in interface ObjectModel
      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

      public javax.ws.rs.core.MultivaluedMap<String,String> getProperties()
      Optional attributes.
      Specified by:
      getProperties in interface ObjectModel
      Returns:
      all properties. If there is no any optional attributes then empty map returned never null
    • getProperty

      public List<String> getProperty(String key)
      Specified by:
      getProperty in interface ObjectModel
      Parameters:
      key -
      Returns:
      property by key
      See Also: