Skip to content

Commit

Permalink
Add createEnumeratedClass method
Browse files Browse the repository at this point in the history
  • Loading branch information
twalmsley authored and GCHQDeveloper42 committed Nov 4, 2022
1 parent 3108330 commit b73fe18
Showing 1 changed file with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -798,6 +798,16 @@ public static ClassOfSystemComponent createClassOfSystemComponent(final String i
return new ClassOfSystemComponentImpl(id);
}

/**
* Create a {@link EnumeratedClass} with an String.
*
* @param id ID of the EnumeratedClass.
* @return A EnumeratedClass instance.
*/
public static EnumeratedClass createEnumeratedClass(final String id) {
return new EnumeratedClassImpl(id);
}

/**
* Create a {@link KindOfActivity} with an String.
*
Expand Down

0 comments on commit b73fe18

Please sign in to comment.