public class MetaModelAdapter extends Object implements PairAdapter<MetaModel,MetaModel>
Constructor and Description |
---|
MetaModelAdapter() |
Modifier and Type | Method and Description |
---|---|
MetaModel |
adaptDestination(Object object)
return object instanceof DEST ? (DEST) object : null
|
MetaModel |
adaptSource(Object object)
return object instanceof SRC ? (SRC) object : null
|
List<?> |
getChildren(Object object)
return object.getChildren() if appropriate.
|
MetaModel |
getDestination(MetaModel src)
return src.getDestination() or corresponding.
|
MetaModel |
getSource(MetaModel dest)
return dest.getSource() or corresponding.
|
public MetaModel adaptDestination(Object object)
PairAdapter
adaptDestination
in interface PairAdapter<MetaModel,MetaModel>
public MetaModel adaptSource(Object object)
PairAdapter
adaptSource
in interface PairAdapter<MetaModel,MetaModel>
public List<?> getChildren(Object object)
PairAdapter
getChildren
in interface PairAdapter<MetaModel,MetaModel>
public MetaModel getDestination(MetaModel src)
PairAdapter
getDestination
in interface PairAdapter<MetaModel,MetaModel>
public MetaModel getSource(MetaModel dest)
PairAdapter
getSource
in interface PairAdapter<MetaModel,MetaModel>
Copyright © 2019. All rights reserved.