Configuring a Predefined class object as property of pojo class