public Enumeration<TriggerType> getTypeElement() { 
      if (this.type == null)
        if (Configuration.errorOnAutoCreate())
          throw new Error("Attempt to auto-create TriggerDefinition.type");
        else if (Configuration.doAutoCreate())
          this.type = new Enumeration<TriggerType>(new TriggerTypeEnumFactory()); // bb
      return this.type;
    }
public Enumeration < TriggerType > getTypeElement ( ) { if ( this . type == null ) if ( Configuration . errorOnAutoCreate ( ) ) throw new Error ( "Attempt to auto-create TriggerDefinition.type" ) ; else if ( Configuration . doAutoCreate ( ) ) this . type = new Enumeration < TriggerType > ( new TriggerTypeEnumFactory ( ) ) ; return this . type ; }
@return {@link #type} (The type of triggering event.). This is the underlying object with id, value and extensions. The accessor "getType" gives direct access to the value