Package de.xima.fc.importer.dependency
Class EntityDependency
- java.lang.Object
-
- de.xima.fc.importer.dependency.EntityDependency
-
- All Implemented Interfaces:
IEntityDependency,Serializable
public class EntityDependency extends Object implements IEntityDependency
- Author:
- XIMA MEDIA GmbH
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description EntityDependency(String fieldName, String uuid, 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.UUIDgetUuid()voidsetUuid(UUID uuid)StringtoString()voidupdateEntity(de.xima.cmn.dao.interfaces.IEntity<Long> entity, de.xima.cmn.dao.interfaces.IEntity<Long> depEntity)Deprecated.
-
-
-
Constructor Detail
-
EntityDependency
public EntityDependency(String fieldName, String uuid, 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
-
getUuid
public UUID getUuid()
-
setUuid
public void setUuid(UUID uuid)
-
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
-
updateEntity
@Deprecated public void updateEntity(de.xima.cmn.dao.interfaces.IEntity<Long> entity, de.xima.cmn.dao.interfaces.IEntity<Long> depEntity) throws Exception
Deprecated.- Throws:
Exception
-
-