Class PersonsFilterForRoom

Object
PersonsFilter
PersonsFilterForRoom
All Implemented Interfaces:
DescriptorCustomizer

public class PersonsFilterForRoom extends PersonsFilter
This class is customizing the collection of Persons in a Room to only contain active persons.
Author:
maartenl
  • Constructor Details

    • PersonsFilterForRoom

      public PersonsFilterForRoom()
  • Method Details

    • getCollectionName

      protected String getCollectionName()
      Specified by:
      getCollectionName in class PersonsFilter
      Returns:
      the name of the field in the entity that is the collection of Persons.
    • getFieldName

      protected String getFieldName()
      Specified by:
      getFieldName in class PersonsFilter
      Returns:
      the name of the field in the
      invalid reference
      Person
      Entity referring to the Entity that has the Customizer annotation.
    • getIdentifier

      protected String getIdentifier()
      Specified by:
      getIdentifier in class PersonsFilter
      Returns:
      the identifier of the Entity that has the Customizer annotation.