org.quattor.pan.type
Class ConcretePrimitiveType
java.lang.Object
org.quattor.pan.type.Type
org.quattor.pan.type.BaseType
org.quattor.pan.type.PrimitiveType
org.quattor.pan.type.ConcretePrimitiveType
public class ConcretePrimitiveType
- extends PrimitiveType
Concrete implementations of primitive types like booleans, longs, etc. The
functionality for these types is identical and implemented in this class.
- Author:
- loomis
|
Method Summary |
void |
validate(Context context,
Element self)
This method will run this type's validation against the given element. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ConcretePrimitiveType
public ConcretePrimitiveType(java.lang.String name,
java.lang.Class<? extends Element> elementType)
validate
public void validate(Context context,
Element self)
throws ValidationException
- Description copied from class:
Type
- This method will run this type's validation against the given element.
The method may not modify either argument.
- Specified by:
validate in class Type
- Parameters:
context - ObjectContext for running the validationself - Element to validate
- Throws:
ValidationException
Copyright © 2011 Quattor. All Rights Reserved.