Project

General

Profile

Task #3502

Story #3849: Modify d1_jibx_extensions to add constraints and constructors

Modify d1_jibx_extensions to specifically check whitespace and string length.

Added by Robert Waltz almost 9 years ago. Updated over 5 years ago.

Status:
Rejected
Priority:
High
Assignee:
Robert Waltz
Category:
d1_jibx_extensions
Target version:
Start date:
2013-01-18
Due date:
% Done:

30%

Story Points:
Sprint:

Description

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

Associated revisions

Revision d707f8be
Added by Robert Waltz over 8 years ago

refs #3502

added 2 decorators that insert conditionals: 1st) no white space, max length 800, non empty string 2nd) non empty string

added in unit tests for the above decorators

Revision 12305
Added by Robert Waltz over 8 years ago

refs #3502

added 2 decorators that insert conditionals: 1st) no white space, max length 800, non empty string 2nd) non empty string

added in unit tests for the above decorators

Revision 12305
Added by Robert Waltz over 8 years ago

refs #3502

added 2 decorators that insert conditionals: 1st) no white space, max length 800, non empty string 2nd) non empty string

added in unit tests for the above decorators

Revision 6fb7ff91
Added by Robert Waltz over 8 years ago

refs #3502

added 2 decorators that insert conditionals: 1st) no white space, max length 800, non empty string 2nd) non empty string

added in unit tests for the above decorators

Revision 12306
Added by Robert Waltz over 8 years ago

refs #3502

added 2 decorators that insert conditionals: 1st) no white space, max length 800, non empty string 2nd) non empty string

added in unit tests for the above decorators

Revision 12306
Added by Robert Waltz over 8 years ago

refs #3502

added 2 decorators that insert conditionals: 1st) no white space, max length 800, non empty string 2nd) non empty string

added in unit tests for the above decorators

Revision b8d4e2cc
Added by Robert Waltz over 8 years ago

refs #3502

added in scope and optional elements to maven-jibx-plugin dependency in pom

ignoring eclipse .settings directory

Revision 12307
Added by Robert Waltz over 8 years ago

refs #3502

added in scope and optional elements to maven-jibx-plugin dependency in pom

ignoring eclipse .settings directory

Revision 12307
Added by Robert Waltz over 8 years ago

refs #3502

added in scope and optional elements to maven-jibx-plugin dependency in pom

ignoring eclipse .settings directory

Revision 2af30998
Added by Robert Waltz over 8 years ago

refs #3502

modified 2 decorators to handle list of Strings
created a new abstract class that creates a field attribute to pull names from

added in unit tests for lists

Revision 12349
Added by Robert Waltz over 8 years ago

refs #3502

modified 2 decorators to handle list of Strings
created a new abstract class that creates a field attribute to pull names from

added in unit tests for lists

Revision 12349
Added by Robert Waltz over 8 years ago

refs #3502

modified 2 decorators to handle list of Strings
created a new abstract class that creates a field attribute to pull names from

added in unit tests for lists

Revision 12349
Added by Robert Waltz over 8 years ago

refs #3502

modified 2 decorators to handle list of Strings
created a new abstract class that creates a field attribute to pull names from

added in unit tests for lists

History

#1 Updated by Robert Waltz over 8 years ago

  • Milestone changed from CCI-1.1.1 to CCI-1.1.2

#2 Updated by Robert Waltz over 8 years ago

  • Milestone changed from CCI-1.1.2 to CCI-1.2
  • Priority changed from Normal to High
  • Status changed from New to In Progress
  • Description updated (diff)

#3 Updated by Robert Waltz over 8 years ago

  • Parent task deleted (#3492)

#4 Updated by Robert Waltz over 8 years ago

  • Target version set to 2013.26-Block.4.1

#5 Updated by Robert Waltz over 8 years ago

  • Category changed from d1_common_java to zz_d1_jibx_extensions

#6 Updated by Robert Waltz over 8 years ago

  • Parent task set to #3849

#7 Updated by Robert Waltz over 8 years ago

  • Subject changed from Modify d1_jibx_extentions to specifically check whitespace and string length. to Modify d1_jibx_extensions to specifically check whitespace and string length.

#8 Updated by Robert Waltz over 8 years ago

  • Target version changed from 2013.26-Block.4.1 to 2013.30-Block.4.3

#9 Updated by Dave Vieglais over 8 years ago

  • Target version changed from 2013.30-Block.4.3 to 2013.33-Block.4.4

#10 Updated by Robert Waltz about 8 years ago

  • Target version changed from 2013.33-Block.4.4 to 2013.49-Block.6.3

#11 Updated by Robert Waltz about 8 years ago

  • Product Version set to 1.2.0

#12 Updated by Chris Jones almost 8 years ago

  • Target version changed from 2013.49-Block.6.3 to 2014.8-Block.1.4

#13 Updated by Robert Waltz over 7 years ago

  • Target version changed from 2014.8-Block.1.4 to 2014.18-Block.3.1

#14 Updated by Robert Waltz over 7 years ago

  • Target version deleted (2014.18-Block.3.1)

#15 Updated by Robert Waltz over 7 years ago

  • Milestone changed from CCI-1.2 to CCI-2.0
  • Product Version changed from 1.2.0 to 2.0.0

#16 Updated by Robert Waltz about 7 years ago

  • Target version set to CCI-2.0.0

#17 Updated by Robert Waltz over 5 years ago

  • translation missing: en.field_remaining_hours set to 0.0
  • Status changed from In Progress to Rejected

No longer supporting JibX

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 14.8 MB)