public interface DataModelMirror
Modifier and Type | Interface and Description |
---|---|
static class |
DataModelMirror.Kind
Kinds of data models.
|
Modifier and Type | Method and Description |
---|---|
boolean |
canContain(DataModelMirror other)
Returns
true iff this data model can contain the other data model. |
boolean |
canInvoke(DataModelMirror other)
Returns
true iff this data model can apply the method parameter
whose type is the specified data model type. |
PropertyMirror |
findProperty(String name)
Returns a property with the specified name.
|
DataModelMirror.Kind |
getKind()
Returns the kind of this data model.
|
String |
getSimpleName()
Returns the simple name of this data model.
|
boolean |
isSame(DataModelMirror other)
Returns
true iff this data model and the specified data model are same. |
String getSimpleName()
DataModelMirror.Kind getKind()
boolean isSame(DataModelMirror other)
true
iff this data model and the specified data model are same.other
- the other data model typetrue
iff both are sameIllegalArgumentException
- if some parameters were null
boolean canInvoke(DataModelMirror other)
true
iff this data model can apply the method parameter
whose type is the specified data model type.
That is:
other
- the other data model typetrue
iff can invoke method
using this data model as parameter of the specified parameter,
false
otherwiseIllegalArgumentException
- if some parameters were null
boolean canContain(DataModelMirror other)
true
iff this data model can contain the other data model.
That is:
other
- the other data model typetrue
iff this data model can contain the other data model,
false
otherwiseIllegalArgumentException
- if some parameters were null
PropertyMirror findProperty(String name)
name
- target namenull
if not foundIllegalArgumentException
- if some parameters were null
Copyright © 2011–2019 Asakusa Framework Team. All rights reserved.