Package de.xima.fc.importer.dependency
Class EntityListDependency
- java.lang.Object
-
- de.xima.fc.importer.dependency.EntityListDependency
-
- All Implemented Interfaces:
IEntityDependency,Serializable
public class EntityListDependency extends Object implements IEntityDependency
- Author:
- XIMA MEDIA GmbH
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description EntityListDependency(String fieldName, List<String> uuids, String entityClassName)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleanequals(Object obj)ObjectfindValue(List<IEntityImportConfig<?>> configs)Class<de.xima.cmn.dao.interfaces.IEntity<Long>>getEntityClass()StringgetFieldDescriptor()Describes the field on the entity (or its members), that has a dependency.List<UUID>getUuids()voidsetUuids(List<UUID> uuids)StringtoString()voidupdateEntity(de.xima.cmn.dao.interfaces.IEntity<Long> entity, List<de.xima.cmn.dao.interfaces.IEntity<Long>> depEntities)Deprecated.
-
-
-
Constructor Detail
-
EntityListDependency
public EntityListDependency(String fieldName, List<String> uuids, String entityClassName) throws ClassNotFoundException
- Throws:
ClassNotFoundException
-
-
Method Detail
-
getFieldDescriptor
public String getFieldDescriptor()
Description copied from interface:IEntityDependencyDescribes the field on the entity (or its members), that has a dependency. E.g.: 'bedingung#folgeAktion'- Specified by:
getFieldDescriptorin interfaceIEntityDependency- Returns:
Stringdescribing the dependency field
-
getEntityClass
public Class<de.xima.cmn.dao.interfaces.IEntity<Long>> getEntityClass()
- Specified by:
getEntityClassin interfaceIEntityDependency- Returns:
Classof the dependency
-
findValue
public Object findValue(List<IEntityImportConfig<?>> configs)
- Specified by:
findValuein interfaceIEntityDependency- Parameters:
configs-Listof import configs to look for value- Returns:
- dependency value if one could be found within the given list or
nullotherwise
-
-