public abstract class PrimitiveType extends BaseType
source, sourceRange| Constructor and Description |
|---|
PrimitiveType() |
| Modifier and Type | Method and Description |
|---|---|
Element |
findDefault(Context context)
This method returns the default value for the type or null if no default
value exists.
|
Element |
setDefaults(Context context,
Element self)
This method will recursively set the default values on the given element.
|
String |
toString() |
void |
verifySubtypesDefined(TypeMap types)
This method verifies that all of the types referenced from this type are
already defined within the given context.
|
getBuiltinTypesgetSource, getSourceRange, validate, validateAsIncludedTypepublic Element findDefault(Context context)
TypefindDefault in class Typecontext - the context may be needed by a complex type to look up other
type definitionspublic Element setDefaults(Context context, Element self) throws EvaluationException
TypesetDefaults in class TypeEvaluationExceptionpublic void verifySubtypesDefined(TypeMap types)
TypeverifySubtypesDefined in class Typetypes - TypeMap to use for looking up referenced typesCopyright © 2014 Quattor. All Rights Reserved.