Z - the source typeX - the destination typeY - the attribute typepublic abstract class AbstractMapping<Z,X,Y> extends Object implements Mapping<Z,X,Y>
| Constructor and Description |
|---|
AbstractMapping(AbstractParentMapping<?,Z> parent,
AttributeImpl<? super Z,X> attribute,
Class<X> javaType,
String name) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
X |
get(Object instance) |
AttributeImpl<? super Z,X> |
getAttribute()
Returns the attribute of the mapping.
|
Member |
getJavaMember() |
Class<X> |
getJavaType() |
AbstractLocator |
getLocator() |
String |
getName() |
AbstractParentMapping<?,Z> |
getParent() |
String |
getPath() |
RootMapping<?> |
getRoot() |
int |
hashCode() |
boolean |
isCollection()
Returns if the mapping is a collection mapping.
|
void |
set(Object instance,
Object value) |
String |
toString() |
public AbstractMapping(AbstractParentMapping<?,Z> parent, AttributeImpl<? super Z,X> attribute, Class<X> javaType, String name)
parent - the parent mappingattribute - the attributejavaType - the java typename - the name of the mappingpublic AttributeImpl<? super Z,X> getAttribute()
public AbstractLocator getLocator()
getLocator in interface Mapping<Z,X,Y>public AbstractParentMapping<?,Z> getParent()
public boolean isCollection()
isCollection in interface Mapping<Z,X,Y>true if the mapping is a collection mapping, false otherwiseCopyright © 2012 Batoo Software & Consultancy. All Rights Reserved.