- metadata.put( KEY_RANGE, rangeIsForStr );\r
- }\r
- }\r
- \r
- @Override\r
- public int getComponentCount() {\r
- return 0;\r
- }\r
- \r
- @Override\r
- public Datatype getComponentType(int index) {\r
- throw new IllegalArgumentException();\r
- }\r
- \r
- @Override\r
- public Datatype getComponentType(ChildReference path) {\r
- if (path==null) return this;\r
- throw new IllegalArgumentException();\r
- } \r
-\r
- @SuppressWarnings("unchecked")\r
- @Override\r
- public <T extends Datatype> T getChildType(ChildReference reference) throws ReferenceException {\r
- if (reference==null) return (T) this;\r
- throw new ReferenceException(reference.getClass()+" is not a subreference of NumberType"); \r
- }\r
+ metadata.put( KEY_RANGE, rangeIsForStr );
+ }
+ }
+
+ @Override
+ public int getComponentCount() {
+ return 0;
+ }
+
+ @Override
+ public Datatype getComponentType(int index) {
+ throw new IllegalArgumentException();
+ }
+
+ @Override
+ public Datatype getComponentType(ChildReference path) {
+ if (path==null) return this;
+ throw new IllegalArgumentException();
+ }
+
+ @SuppressWarnings("unchecked")
+ @Override
+ public <T extends Datatype> T getChildType(ChildReference reference) throws ReferenceException {
+ if (reference==null) return (T) this;
+ throw new ReferenceException(reference.getClass()+" is not a subreference of NumberType");
+ }