|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface CompiletimeModel.Property
A compile-time Property
is declared by the current
CompiletimeModel
and represents a property as defined
by the specification of the XL programming language. Properties
are similar to fields, but can be used in deferred
assignments and some other constructs of the XL programming
language.
A Property
represents a property at compile-time.
This has to be accompanied by a corresponding instance of
RuntimeModel.Property
that is used at run-time.
The correct run-time property instance is obtained by invocations of
RuntimeModel.propertyForName(String, ClassLoader)
with the name returned by getRuntimeName()
as parameter.
A comprehensive specification of the behaviour of Property
is given by the specification of the XL programming language.
Method Summary | |
---|---|
CompiletimeModel.Property |
getComponentProperty()
Returns the component property. |
CompiletimeModel |
getModel()
Returns this property's compile-time model. |
java.lang.String |
getRuntimeName()
Defines the name of the corresponding RuntimeModel.Property . |
Type<? extends RuntimeModel.Property> |
getRuntimeType()
|
CompiletimeModel.Property |
getSubProperty(java.lang.String name)
Returns a subproperty. |
Type<?> |
getType()
Returns this property's type. |
CompiletimeModel.Property |
getTypeCastProperty(Type<?> type)
Returns a type-cast property. |
Method Detail |
---|
CompiletimeModel.Property getComponentProperty()
null
is returned.
CompiletimeModel getModel()
java.lang.String getRuntimeName()
RuntimeModel.Property
. This name
is used during run-time in invocations of
RuntimeModel.propertyForName(String, ClassLoader)
in order to obtain the RuntimeModel.Property
which corresponds to this compile-time property.
Type<? extends RuntimeModel.Property> getRuntimeType()
CompiletimeModel.Property getSubProperty(java.lang.String name)
name
, then this subproperty is returned, otherwise
null
.
name
- the name of the subproperty
Type<?> getType()
CompiletimeModel.Property getTypeCastProperty(Type<?> type)
type
has to be
a reference type which is assignable to the type of this
property. The method returns the corresponding type-cast property.
type
- the type of the type-cast property
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |