Returns the hidden FORM_TYPE field or null if this data form has none.

@return the hidden FORM_TYPE field or null.
@since 4.1
961230
public FormField getHiddenFormTypeField() {
        FormField field = getField(FormField.FORM_TYPE);
        if (field != null && field.getType() == FormField.Type.hidden) {
            return field;
        }
        return null;
    }
632653
def get_form_class(self):
        
        if self.object.link_type == Link.LINK_TYPE_EMAIL:
            return EmailLinkForm
        elif self.object.link_type == Link.LINK_TYPE_EXTERNAL:
            return ExternalLinkForm

        return None
1367528
public Field getField() {
        if (field == null) return null;

        try {
            // Note: sun.reflect.ReflectionFactory is not available in Android API
            return field.getDeclaringClass().getDeclaredField(field.getName());
        } catch (NoSuchFieldException e) {
            throw new ReflectionException(e.getMessage(), e);// Not Reproducible
        }
    }
1147430
public EventType getType() {
        String typeStr = getTypeString();
        EventType type = null;
        try {
            type = EventType.valueOf(typeStr);
        } catch (Exception ex) {
            logger.warn("Unexpected type: " + typeStr);
        }
        return type;
    }
686812
public Class<?> getType()
    {
        if ( this == Primitive.VOID )
            return Void.TYPE;

        // NULL return null as type... we currently use null type to indicate
        // loose typing throughout bsh.
        if ( this == Primitive.NULL )
            return null;

        return unboxType( value.getClass() );
    }
182637
public String getFieldTypeRaw() {
        int pos = fieldType.indexOf("<");
        return (pos < 0 ? fieldType : fieldType.substring(0, pos));
    }
757880
public String getContentType() {
        final Object contentType = getHeader(HttpMessageHeaders.HTTP_CONTENT_TYPE);

        if (contentType != null) {
            return contentType.toString();
        }

        return null;
    }
90820
public final String getJmsType() {
        if (getHdr2().getChoiceField(JsHdr2Access.JMSTYPE) == JsHdr2Access.IS_JMSTYPE_EMPTY) {
            return getDerivedJmsType();
        }
        else {
            return (String) getHdr2().getField(JsHdr2Access.JMSTYPE_DATA);
        }
    }
710390
public Optional<TypeInformation<?>> getFieldType(int fieldIndex) {
		if (fieldIndex < 0 || fieldIndex >= fieldTypes.length) {
			return Optional.empty();
		}
		return Optional.of(fieldTypes[fieldIndex]);
	}
129494
public String getType() {
        String type =  getPropertyAsString(FIELD_TYPE);
        if (type == null){
            return getPropertyAsString(FIELD_ITEM_TYPE);
        }
        return type;
    }
749248
@JsonIgnore
    public CodeElement getType() {
        return codeElements.stream().filter(ce -> ce.getRole() == CodeElementRole.Primary).findFirst().orElse(null);
    }
640768
public function getFieldValue() {

		switch( $this->type ) {

			case self::TYPE_TEXT:
			case self::TYPE_TEXTAREA:
			case self::TYPE_RADIO:
			case self::TYPE_RADIO_GROUP:
			case self::TYPE_SELECT:
			case self::TYPE_RATING:
			case self::TYPE_ICON:
			case self::TYPE_CHECKBOX_GROUP: {

				return $this->value;
			}
			case self::TYPE_PASSWORD: {

				return null;
			}
			case self::TYPE_CHECKBOX:
			case self::TYPE_TOGGLE: {

				return Yii::$app->formatter->asBoolean( $this->value );
			}
		}
	}
1166070
public java.lang.String getEnctype() {
        return (java.lang.String) getStateHelper().eval(PropertyKeys.enctype, "application/x-www-form-urlencoded");

    }
58611
public String getType() {
        Object type = getHeader(JmsMessageHeaders.TYPE);

        if (type != null) {
            return type.toString();
        }

        return null;
    }
917547
public String getOid()
    {
        String ret = null;
        if (isValid()) {
            ret = getType().getId() + "." + getId();
        }
        return ret;
    }
1016453
def get_unbound_form(self):
        
        form_kwargs = self.get_form_kwargs()
        # @@@ remove fields that would cause the form to be bound
        # when instantiated
        bound_fields = ["data", "files"]
        for field in bound_fields:
            form_kwargs.pop(field, None)
        return self.get_form_class()(**form_kwargs)
1071906
public String getParamType() {
		int firstColon = myValue.indexOf(':');
		if (firstColon == -1 || firstColon == myValue.length() - 1) {
			return null;
		}
		return myValue.substring(0, firstColon);
	}