java.lang.Object
de.grogra.xl.impl.property.CompiletimeModel
- All Implemented Interfaces:
CompiletimeModel
- Direct Known Subclasses:
PropertyCompiletime,PropertyCompiletimeModel
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface de.grogra.xl.property.CompiletimeModel
CompiletimeModel.Property -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetDirectProperty(Type<?> type, String name) Returns a direct property.protected CompiletimeModel.PropertyImplgetDirectProperty(Type<?> type, String name, String id) Defines the name of the correspondingRuntimeModel.
-
Constructor Details
-
CompiletimeModel
-
-
Method Details
-
getDirectProperty
Description copied from interface:CompiletimeModelReturns a direct property. This method returns the direct property namedfieldNamedeclared intype. If no such property exists,nullis returned.- Specified by:
getDirectPropertyin 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:CompiletimeModelDefines 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 theRuntimeModelsuitable for the code that is compiled within this compile-time model.- Specified by:
getRuntimeNamein interfaceCompiletimeModel- Returns:
- the name of the corresponding run-time model
-