|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectde.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.Propertynull is returned.
getComponentProperty in interface CompiletimeModel.Propertyprotected abstract CompiletimeModel.PropertyImpl getComponentProperty(java.lang.String id)
public CompiletimeModel getModel()
CompiletimeModel.Property
getModel in interface CompiletimeModel.Propertypublic java.lang.String getRuntimeName()
CompiletimeModel.PropertyRuntimeModel.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.Propertypublic CompiletimeModel.Property getSubProperty(java.lang.String name)
CompiletimeModel.Propertyname, then this subproperty is returned, otherwise
null.
getSubProperty in interface CompiletimeModel.Propertyname - 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.Propertypublic CompiletimeModel.Property getTypeCastProperty(Type<?> type)
CompiletimeModel.Propertytype 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.Propertytype - 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 | |||||||