java.lang.Object
de.grogra.xl.impl.property.CompiletimeModel
- All Implemented Interfaces:
CompiletimeModel
- Direct Known Subclasses:
PropertyCompiletime
,PropertyCompiletimeModel
-
Nested Class Summary
Nested classes/interfaces inherited from interface de.grogra.xl.property.CompiletimeModel
CompiletimeModel.Property
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetDirectProperty
(Type<?> type, String name) Returns a direct property.protected CompiletimeModel.PropertyImpl
getDirectProperty
(Type<?> type, String name, String id) Defines the name of the correspondingRuntimeModel
.
-
Constructor Details
-
CompiletimeModel
-
-
Method Details
-
getDirectProperty
Description copied from interface:CompiletimeModel
Returns a direct property. This method returns the direct property namedfieldName
declared intype
. If no such property exists,null
is returned.- Specified by:
getDirectProperty
in interfaceCompiletimeModel
- Parameters:
type
- the type in which the property is declaredname
- the name of the property- Returns:
- the direct property, if any
-
getDirectProperty
-
getRuntimeName
Description copied from interface:CompiletimeModel
Defines the name of the correspondingRuntimeModel
. This name is used during run-time in invocations ofRuntimeModelFactory.modelForName(java.lang.String, java.lang.ClassLoader)
in order to obtain theRuntimeModel
suitable for the code that is compiled within this compile-time model.- Specified by:
getRuntimeName
in interfaceCompiletimeModel
- Returns:
- the name of the corresponding run-time model
-