Java Create New Object Array Typescript Enum