|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.grogra.xl.impl.property.CompiletimeModel.PropertyImpl
public abstract class CompiletimeModel.PropertyImpl
Constructor Summary | |
---|---|
CompiletimeModel.PropertyImpl(java.lang.Class<?> type,
java.lang.String id)
|
|
CompiletimeModel.PropertyImpl(Type<?> type,
java.lang.String id)
|
Method Summary | |
---|---|
CompiletimeModel.Property |
getComponentProperty()
Returns the component property. |
protected abstract CompiletimeModel.PropertyImpl |
getComponentProperty(java.lang.String id)
|
CompiletimeModel |
getModel()
Returns this property's compile-time model. |
java.lang.String |
getRuntimeName()
Defines the name of the corresponding RuntimeModel.Property . |
CompiletimeModel.Property |
getSubProperty(java.lang.String name)
Returns a subproperty. |
protected abstract CompiletimeModel.PropertyImpl |
getSubProperty(java.lang.String name,
java.lang.String id)
|
Type<?> |
getType()
Returns this property's type. |
CompiletimeModel.Property |
getTypeCastProperty(Type<?> type)
Returns a type-cast property. |
protected abstract CompiletimeModel.PropertyImpl |
getTypeCastProperty(Type<?> type,
java.lang.String id)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface de.grogra.xl.property.CompiletimeModel.Property |
---|
getRuntimeType |
Constructor Detail |
---|
public CompiletimeModel.PropertyImpl(java.lang.Class<?> type, java.lang.String id)
public CompiletimeModel.PropertyImpl(Type<?> type, java.lang.String id)
Method Detail |
---|
public CompiletimeModel.Property getComponentProperty()
CompiletimeModel.Property
null
is returned.
getComponentProperty
in interface CompiletimeModel.Property
protected abstract CompiletimeModel.PropertyImpl getComponentProperty(java.lang.String id)
public CompiletimeModel getModel()
CompiletimeModel.Property
getModel
in interface CompiletimeModel.Property
public java.lang.String getRuntimeName()
CompiletimeModel.Property
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.
getRuntimeName
in interface CompiletimeModel.Property
public CompiletimeModel.Property getSubProperty(java.lang.String name)
CompiletimeModel.Property
name
, then this subproperty is returned, otherwise
null
.
getSubProperty
in interface CompiletimeModel.Property
name
- the name of the subproperty
protected abstract CompiletimeModel.PropertyImpl getSubProperty(java.lang.String name, java.lang.String id)
public Type<?> getType()
CompiletimeModel.Property
getType
in interface CompiletimeModel.Property
public CompiletimeModel.Property getTypeCastProperty(Type<?> type)
CompiletimeModel.Property
type
has to be
a reference type which is assignable to the type of this
property. The method returns the corresponding type-cast property.
getTypeCastProperty
in interface CompiletimeModel.Property
type
- the type of the type-cast property
protected abstract CompiletimeModel.PropertyImpl getTypeCastProperty(Type<?> type, java.lang.String id)
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |