public class EntityListDependency extends Object implements IEntityDependency
Constructor and Description |
---|
EntityListDependency(String fieldName,
List<String> uuids,
String entityClassName) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(IEntityDependency o) |
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.
|
List<UUID> |
getUuids() |
int |
hashCode() |
void |
setUuids(List<UUID> uuids) |
String |
toString() |
void |
updateEntity(de.xima.cmn.dao.interfaces.IEntity<Long> entity,
List<de.xima.cmn.dao.interfaces.IEntity<Long>> depEntities)
Deprecated.
|
public EntityListDependency(String fieldName, List<String> uuids, String entityClassName) throws ClassNotFoundException
ClassNotFoundException
public String getFieldDescriptor()
IEntityDependency
getFieldDescriptor
in interface IEntityDependency
String
describing the dependency fieldpublic Class<de.xima.cmn.dao.interfaces.IEntity<Long>> getEntityClass()
getEntityClass
in interface IEntityDependency
Class
of the dependencypublic Object findValue(List<IEntityImportConfig<?>> configs)
findValue
in interface IEntityDependency
configs
- List
of import configs to look for valuenull
otherwise@Deprecated public void updateEntity(de.xima.cmn.dao.interfaces.IEntity<Long> entity, List<de.xima.cmn.dao.interfaces.IEntity<Long>> depEntities) throws Exception
Exception
public int compareTo(IEntityDependency o)
compareTo
in interface Comparable<IEntityDependency>
Copyright © 2021 XIMA MEDIA GmbH. All rights reserved.