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) |
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) |
public EntityDependency(String fieldName, String uuid, String entityClassName) throws ClassNotFoundException
ClassNotFoundExceptionpublic String getFieldDescriptor()
IEntityDependencygetFieldDescriptor in interface IEntityDependencyString describing the dependency fieldpublic Class<de.xima.cmn.dao.interfaces.IEntity<Long>> getEntityClass()
getEntityClass in interface IEntityDependencyClass of the dependencypublic UUID getUuid()
public void setUuid(UUID uuid)
public void updateEntity(de.xima.cmn.dao.interfaces.IEntity<Long> entity, de.xima.cmn.dao.interfaces.IEntity<Long> depEntity) throws Exception
Exceptionpublic int compareTo(IEntityDependency o)
compareTo in interface Comparable<IEntityDependency>Copyright © 2020 XIMA MEDIA GmbH. All rights reserved.