public class RawProperty extends TextProperty
value
group, parameters
Constructor and Description |
---|
RawProperty(java.lang.String propertyName,
java.lang.String value)
Creates a raw property.
|
RawProperty(java.lang.String propertyName,
java.lang.String value,
VCardDataType dataType)
Creates a raw property.
|
Modifier and Type | Method and Description |
---|---|
VCardDataType |
getDataType()
Gets the data type of the property's value.
|
java.lang.String |
getPropertyName()
Gets the name of the property.
|
void |
setDataType(VCardDataType dataType)
Sets the data type of the property's value.
|
void |
setPropertyName(java.lang.String propertyName)
Sets the name of the property.
|
_validate, getValue, setValue
_supportedVersions, addParameter, compareTo, getGroup, getParameter, getParameters, getParameters, getSupportedVersions, removeParameter, setGroup, setParameter, setParameters, validate
public RawProperty(java.lang.String propertyName, java.lang.String value)
propertyName
- the property name (e.g. "X-GENDER")value
- the property valuepublic RawProperty(java.lang.String propertyName, java.lang.String value, VCardDataType dataType)
propertyName
- the property name (e.g. "X-GENDER")value
- the property valuedataType
- the value's data typepublic java.lang.String getPropertyName()
public void setPropertyName(java.lang.String propertyName)
propertyName
- the property namepublic VCardDataType getDataType()
public void setDataType(VCardDataType dataType)
dataType
- the data type or null if unknownThis software is published under the BSD license. Copyright © 2003-${build.year}, CRIXP AG, Switzerland, All rights reserved. Use is subject to license terms.