Skip to content
This repository was archived by the owner on Sep 21, 2022. It is now read-only.
This repository was archived by the owner on Sep 21, 2022. It is now read-only.

Add generated constructors as methods to the ObjectFactory #35

Open
@glassfishrobot

Description

@glassfishrobot

XJC generated code looks fine:

{code;java}

public Property(final String value, final String name, final String locale)

{ this.value = value; this.name = name; this.locale = locale; }```
but the {{ObjectFactory}} still has only this:

{code:java}
/**
* Create an instance of {@link Property }
*
*/
public Property createProperty() {
return new Property();
}


It would be nice if the factory would have both methods, one for empty ctor and one for arg ctor.
#### Affected Versions
[current]

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions