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 boolean
equals(Object obj)
Object
findValue(List<IEntityImportConfig<?>> configs)
Class<de.xima.cmn.dao.interfaces.IEntity<Long>>
getEntityClass()
String
getFieldDescriptor()
Describes the field on the entity (or its members), that has a dependency.UUID
getUuid()
void
setUuid(UUID uuid)
String
toString()
void
updateEntity(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:IEntityDependency
Describes the field on the entity (or its members), that has a dependency. E.g.: 'bedingung#folgeAktion'- Specified by:
getFieldDescriptor
in interfaceIEntityDependency
- Returns:
String
describing the dependency field
-
getEntityClass
public Class<de.xima.cmn.dao.interfaces.IEntity<Long>> getEntityClass()
- Specified by:
getEntityClass
in interfaceIEntityDependency
- Returns:
Class
of the dependency
-
getUuid
public UUID getUuid()
-
setUuid
public void setUuid(UUID uuid)
-
findValue
public Object findValue(List<IEntityImportConfig<?>> configs)
- Specified by:
findValue
in interfaceIEntityDependency
- Parameters:
configs
-List
of import configs to look for value- Returns:
- dependency value if one could be found within the given list or
null
otherwise
-
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
-
-