PropertyContainer

public class PropertyContainer extends Container<Property>

Constructors

PropertyContainer

public PropertyContainer(EntityInterface domain)

Methods

add

public boolean add(Property p)

addAll

public boolean addAll(Collection<? extends Property> c)

addToElement

public void addToElement(EntityInterface property, Element element, SerializeFieldStrategy serializeFieldStrategy)

Add a single property to the element using the given setFieldStrategy.

Parameters:
  • property

  • element

  • serializeFieldStrategy

addToElement

public void addToElement(Element element, SerializeFieldStrategy serializeFieldStrategy)

Add all properties to the element using the given setFieldStrategy.

Parameters:
  • element

  • serializeFieldStrategy

sort

public void sort()

Sort the properties by their pidx (Property Index).