You are here

getType

public PropertyType getType() returns an object representing the property data type.

Parameters

None

Returns

Returns a PropertyType object representing the property data type.

Example


    Property property = node.getProperty("cmis:objectTypeId");
    PropertyType propertyType = property.getType();
    Log.d(TAG, "type: " + propertyType.value());        
    Log.d(TAG, "value: " + property.getValue());
    Log.d(TAG, "isMultiValued: " + property.isMultiValued());

      

Would result in output such as the following: