Generated by
JDiff

Class org.cyclos.model.utils.ModelHelper

Removed Methods
void collectVOs(Class<VO>, Collection<String>, Collection<VO>) Converts each value to a VO, using .voFromString(Class, String), then adds the resulting VO (if not null) to the given collection
 

Added Methods
void copyProperties(Bean, Bean) It copies from source to target (apply a bean over another bean) traversing all source's properties.
If a property is not found in the target bean or has a different type then it's ignored.
String escapeIdentifierIfNeeded(String) When the given value is a valid Long, return it escaped with a trailing '.
List<T> getHierarchyPath(Bean, Property<T, T>) Returns a list with the path from the hierarchy root up to the given object, having the given parent property to resolve an object's parent.
int getLevel(Bean, Property<T, T>) Returns the level of a given hierarchical bean.
boolean isEmpty(Bean, Property[]) @param properties list of Properties to be checked for empty/null
(Property<?, OperatorWithFieldsVO>) operatorWithFieldsProperty(BasicProfileField) Returns the property from OperatorWithFieldsVO which matches the given profile field, or null if not applicable
String stringFromVO(EntityVO) Returns the locator string from the given EntityVO.
List<VO> voListFromString(Class<VO>, Collection<String>) Returns each string element as a VO in a new set.
 

Changed Methods
DatePeriodDTO datePeriod(DateTime, DateTime) Change in signature from (org.cyclos.model.utils.DateTime, org.cyclos.model.utils.DateTime) to (DateTime, DateTime).
Creates a new DatePeriodDTO