public class EntityDependency extends Object implements IEntityDependency
Constructor and Description |
---|
EntityDependency(String fieldName,
String uuid,
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.
|
UUID |
getUuid() |
int |
hashCode() |
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.
|
public EntityDependency(String fieldName, String uuid, 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 UUID getUuid()
public void setUuid(UUID uuid)
public 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, de.xima.cmn.dao.interfaces.IEntity<Long> depEntity) throws Exception
Exception
public int compareTo(IEntityDependency o)
compareTo
in interface Comparable<IEntityDependency>
Copyright © 2021 XIMA MEDIA GmbH. All rights reserved.