| Method from org.hibernate.envers.entities.EntityConfiguration Detail: |
public void addToManyMiddleNotOwningRelation(String fromPropertyName,
String mappedByPropertyName,
String toEntityName) {
relations.put(fromPropertyName, new RelationDescription(fromPropertyName, RelationType.TO_MANY_MIDDLE_NOT_OWNING,
toEntityName, mappedByPropertyName, null));
}
|
public void addToManyMiddleRelation(String fromPropertyName,
String toEntityName) {
relations.put(fromPropertyName, new RelationDescription(fromPropertyName, RelationType.TO_MANY_MIDDLE,
toEntityName, null, null));
}
|
public void addToManyNotOwningRelation(String fromPropertyName,
String mappedByPropertyName,
String toEntityName,
IdMapper idMapper) {
relations.put(fromPropertyName, new RelationDescription(fromPropertyName, RelationType.TO_MANY_NOT_OWNING,
toEntityName, mappedByPropertyName, idMapper));
}
|
public void addToOneNotOwningRelation(String fromPropertyName,
String mappedByPropertyName,
String toEntityName,
IdMapper idMapper) {
relations.put(fromPropertyName, new RelationDescription(fromPropertyName, RelationType.TO_ONE_NOT_OWNING,
toEntityName, mappedByPropertyName, idMapper));
}
|
public void addToOneRelation(String fromPropertyName,
String toEntityName,
IdMapper idMapper) {
relations.put(fromPropertyName, new RelationDescription(fromPropertyName, RelationType.TO_ONE,
toEntityName, null, idMapper));
}
|
public IdMapper getIdMapper() {
return idMappingData.getIdMapper();
}
|
public IdMappingData getIdMappingData() {
return idMappingData;
}
|
String getParentEntityName() {
return parentEntityName;
}
|
public ExtendedPropertyMapper getPropertyMapper() {
return propertyMapper;
}
|
public RelationDescription getRelationDescription(String propertyName) {
return relations.get(propertyName);
}
|
Iterable getRelationsIterator() {
return relations.values();
}
|
String getVersionsEntityName() {
return versionsEntityName;
}
|
public boolean isRelation(String propertyName) {
return relations.get(propertyName) != null;
}
|