Project

General

Profile

Task #3502

Updated by Robert Waltz almost 11 years ago

We are able to modify code generation of jibx through the use of decorators. Currently, ComparableIdentifierDecorator is used by other classes that do not need the addition of whitespace and string length checking. Copy ComparableIdentifierDecorator and ComparableIdentifierDecorator for reuse by all classes that need it. Alter ComparableIdentifierDecorator to include whitespace/string length.
Modify d1_common_java/src/main/resources/org/dataone/service/resources/config/v1/jibxConfig.xml to point to correct class names for the different objects.

throw Exceptions.UnsupportedType if type does not pass conditional statements

Back

Add picture from clipboard (Maximum size: 14.8 MB)