public class RawProperty extends TextProperty
valuegroup, parameters| Constructor and Description |
|---|
RawProperty(String propertyName,
String value)
Creates a raw property.
|
RawProperty(String propertyName,
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.
|
String |
getPropertyName()
Gets the name of the property.
|
void |
setDataType(VCardDataType dataType)
Sets the data type of the property's value.
|
void |
setPropertyName(String propertyName)
Sets the name of the property.
|
_validate, getValue, setValue_supportedVersions, addParameter, compareTo, getGroup, getParameter, getParameters, getParameters, getSupportedVersions, removeParameter, setGroup, setParameter, setParameters, validatepublic RawProperty(String propertyName, String value)
propertyName - the property name (e.g. "X-GENDER")value - the property valuepublic RawProperty(String propertyName, String value, VCardDataType dataType)
propertyName - the property name (e.g. "X-GENDER")value - the property valuedataType - the value's data typepublic String getPropertyName()
public void setPropertyName(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.