|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.grogra.xl.impl.base.CompiletimeModel de.grogra.rgg.model.Compiletime
public class Compiletime
Constructor Summary | |
---|---|
Compiletime()
|
|
Compiletime(java.lang.String runtimeConstant)
|
Method Summary | |
---|---|
Type<Node> |
getNodeType()
Specifies the base type of nodes of this model. |
Type<? extends Producer> |
getProducerType()
Returns the type of producers for right-hand sides of rules for this model. |
Type<?> |
getWrapperTypeFor(Type<?> type)
Return the type of wrappers for values of the given type. |
CompiletimeModel.Property |
getWrapProperty(Type<?> wrapperType)
Returns the unwrapping property of a wrapper type. |
boolean |
needsWrapperFor(Type<?> type)
Determines whether a value of the given type has to be wrapped before it is added as a node to a Graph . |
Methods inherited from class de.grogra.xl.impl.base.CompiletimeModel |
---|
getEdgeType, getEdgeTypeFor, getQueryStateType, getRuntimeName, getStandardEdgeFor |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Compiletime()
public Compiletime(java.lang.String runtimeConstant)
Method Detail |
---|
public Type<Node> getNodeType()
CompiletimeModel
public Type<? extends Producer> getProducerType()
CompiletimeModel
public Type<?> getWrapperTypeFor(Type<?> type)
CompiletimeModel
CompiletimeModel.needsWrapperFor(de.grogra.reflect.Type>)
returns true
.
type
- a value type
public CompiletimeModel.Property getWrapProperty(Type<?> wrapperType)
CompiletimeModel
wrapperType
is the type of a wrapper. If there
is a property declared in this type which can be used to obtain
the wrapped argument, this property is returned, otherwise
null
.
getWrapProperty
in interface CompiletimeModel
getWrapProperty
in class CompiletimeModel
wrapperType
- the type of a wrapper
public boolean needsWrapperFor(Type<?> type)
CompiletimeModel
Graph
.
needsWrapperFor
in interface CompiletimeModel
needsWrapperFor
in class CompiletimeModel
type
- a value type
true
iff a wrapper is needed for type
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |