de.grogra.xl.impl.property
public abstract class CompiletimeModel extends java.lang.Object implements CompiletimeModel
| Modifier and Type | Class and Description |
|---|---|
class |
CompiletimeModel.PropertyImpl |
CompiletimeModel.Property| Constructor and Description |
|---|
CompiletimeModel(java.lang.String runtimeConstant) |
| Modifier and Type | Method and Description |
|---|---|
CompiletimeModel.Property |
getDirectProperty(Type<?> type,
java.lang.String name)
Returns a direct property.
|
protected CompiletimeModel.PropertyImpl |
getDirectProperty(Type<?> type,
java.lang.String name,
java.lang.String id) |
java.lang.String |
getRuntimeName()
Defines the name of the corresponding
RuntimeModel. |
public CompiletimeModel.Property getDirectProperty(Type<?> type, java.lang.String name)
CompiletimeModelfieldName declared in type. If no
such property exists, null is returned.getDirectProperty in interface CompiletimeModeltype - the type in which the property is declaredname - the name of the propertyprotected CompiletimeModel.PropertyImpl getDirectProperty(Type<?> type, java.lang.String name, java.lang.String id)
public java.lang.String getRuntimeName()
CompiletimeModelRuntimeModel. This name
is used during run-time in invocations of
RuntimeModelFactory.modelForName(java.lang.String, java.lang.ClassLoader)
in order to obtain the RuntimeModel
suitable for the code that is compiled within this compile-time model.getRuntimeName in interface CompiletimeModel