Gets the raw type of the property.
@return the raw type
182637
public String getFieldTypeRaw() {
        int pos = fieldType.indexOf("<");
        return (pos < 0 ? fieldType : fieldType.substring(0, pos));
    }
541522
@SuppressWarnings("unchecked")
  public Class<? extends Serializable> getIdType() {
    Type type = propertyTypes.get(idName);
    return (Class<? extends Serializable>) (null != type ? type.getReturnedClass() : null);
  }
749702
public Type getType()
    {
        Type ret = null;
        try {
            if (this.uuid != null) {
                ret = Type.get(this.uuid);
            }
        } catch (final CacheReloadException e) {
            Instance.LOG.error("Could not load Type for UUID: {}", this.uuid);
        }
        return ret;
    }
1018063
public String getTypeString() {

        if (CmsResource.COPY_AS_SIBLING == m_type) {
            return CmsConfigurationCopyResource.COPY_AS_SIBLING;
        } else if (CmsResource.COPY_PRESERVE_SIBLING == m_type) {
            return CmsConfigurationCopyResource.COPY_AS_PRESERVE;
        }
        return CmsConfigurationCopyResource.COPY_AS_NEW;
    }
972695
public Object convert(String rawString, Type type) {
        Object value = convert(rawString, type, null);
        return value;
    }
1071906
public String getParamType() {
		int firstColon = myValue.indexOf(':');
		if (firstColon == -1 || firstColon == myValue.length() - 1) {
			return null;
		}
		return myValue.substring(0, firstColon);
	}
986263
public Type type() {
    if (type == null) {
      synchronized (this) {
        if (type == null) {
          type = address() instanceof Inet6Address ? Type.IPV6 : Type.IPV4;
        }
      }
    }
    return type;
  }
1128588
public String getType()
    {
    IVarDef parent = getParent();
    return parent==null? type_ : parent.getType();
    }
90203
public java.util.List<Type> getType() {  
		if (myType == null) {
			myType = new java.util.ArrayList<Type>();
		}
		return myType;
	}
757880
public String getContentType() {
        final Object contentType = getHeader(HttpMessageHeaders.HTTP_CONTENT_TYPE);

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

        return null;
    }
743404
public String getType() {
	if (this.type == null) {
	    try {
		String methodName = "set" + (name.length() > 0 ? "" + Character.toUpperCase(name.charAt(0)) : "") + (name.length() > 1 ? name.substring(1) : "");

		Class clazz = tag.getTagClassDefinition().getClazz(null);
		if (clazz != null) {
		    Method[] methods = clazz.getMethods();
		    for (int i = 0; i < methods.length; i++) {
			Method method = methods[i];
			if (method.getName().equalsIgnoreCase(methodName)) {
			    Class[] types = method.getParameterTypes();
			    if (types.length == 1) {
				Class type = types[0];
				if (type == String.class) this.type = "string";
				else if (type == double.class) this.type = "number";
				else if (type == Date.class) this.type = "datetime";
				else this.type = type.getName();
			    }
			}
		    }
		}
	    }
	    catch (Throwable t) {
		ExceptionUtil.rethrowIfNecessary(t);
		return "string";
	    }
	}
	return this.type;
    }
1343276
public String getRawProperty(T property)
    {
        String propertyName = getTranslator().getPropertyName(property);
        String value = properties.getProperty(propertyName);

        if (value != null && isAutoTrim())
        {
            value = value.trim();
        }

        return value;
    }
581798
private final Type getGenericType() {
        final Class<?> raw = getClass();
        final TypeVariable<?>[] typeParameters = raw.getTypeParameters();
        if (ArrayUtils.isEmpty(typeParameters)) {
            return raw;
        }
        final Type[] parameters = new Type[typeParameters.length];

        // use empty type variable map because we're relying on @BindTypeVariable functionality:
        final Map<TypeVariable<?>, Type> typeVariableMap = Collections.emptyMap();
        for (int i = 0; i < parameters.length; i++) {
            parameters[i] = Types.resolveAt(this, typeParameters[i], typeVariableMap);
        }
        return TypeUtils.parameterize(raw, parameters);
    }
805847
public ClassProject.CodeType getCodeType()
    {
        String code = this.toString();
        if ("THICK".equalsIgnoreCase(code))
            return ClassProject.CodeType.THICK;
        if ("THIN".equalsIgnoreCase(code))
            return ClassProject.CodeType.THIN;
        if ("RESOURCE_CODE".equalsIgnoreCase(code))
            return ClassProject.CodeType.RESOURCE_CODE;
        if ("RESOURCE_PROPERTIES".equalsIgnoreCase(code))
            return ClassProject.CodeType.RESOURCE_PROPERTIES;
        if ("INTERFACE".equalsIgnoreCase(code))
            return ClassProject.CodeType.INTERFACE;
        return null;
    }
807729
public String getTypeName() {
		String type = null;
		if (dataType != null) {
			type = dataType.name();
		}
		return type;
	}
529624
public String getOtherTrackType()
	{
		final Element element = getElement("Type", 0);

		if (element != null)
		{
			return element.getText();
		}
		else
		{
			return null;
		}
	}
1136445
private <T> T getTyped(PropertyKey key, Class<T> clazz) {
        Property p = getProperty(key.m_key);
        
        if (null == p || null == p.getData()) {
            return clazz.cast(m_defaults.get(key));
        }

        return clazz.cast(p.getData());
    }