|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.funambol.common.pim.model.common.Property
com.funambol.common.pim.model.common.TypifiedProperty
public class TypifiedProperty
Represent a Property of a particular type, for usage for typified contact fields.
Field Summary | |
---|---|
protected java.lang.String |
propertyType
|
Fields inherited from class com.funambol.common.pim.model.common.Property |
---|
altrep, chrset, cn, cutype, delegatedFrom, delegatedTo, dir, encoding, group, language, member, partstat, propertyValue, related, sentby, tag, type, value, xParams |
Constructor Summary | |
---|---|
TypifiedProperty()
Creates an empty typified property with a null property type. |
|
TypifiedProperty(java.lang.String value)
Creates a TypifiedProperty with the provided property value and a null property type |
Method Summary | |
---|---|
boolean |
compare(TypifiedProperty prop)
Compares this TypifiedProperty with another one. |
boolean |
equals(java.lang.Object o)
|
java.lang.String |
getPropertyType()
Returns the property type. |
int |
hashCode()
|
void |
setPropertyType(java.lang.String propertyType)
Sets the property type. |
Methods inherited from class com.funambol.common.pim.model.common.Property |
---|
compare, getAltrep, getCharset, getCn, getCutype, getDelegatedFrom, getDelegatedTo, getDir, getEncoding, getGroup, getLanguage, getMember, getPartstat, getPropertyValue, getPropertyValueAsString, getRelated, getSentby, getTag, getType, getValue, getXParams, isEmptyProperty, setAltrep, setCharset, setCn, setCutype, setDelegatedFrom, setDelegatedTo, setDir, setEncoding, setGroup, setLanguage, setMember, setPartstat, setPropertyValue, setRelated, setSentby, setTag, setType, setValue, setXParams, stringFrom, stringFrom |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.lang.String propertyType
Constructor Detail |
---|
public TypifiedProperty()
public TypifiedProperty(java.lang.String value)
value
- the property value as a stringMethod Detail |
---|
public java.lang.String getPropertyType()
public void setPropertyType(java.lang.String propertyType)
propertyType
- the new value of propertyTypepublic boolean equals(java.lang.Object o)
equals
in class Property
public int hashCode()
hashCode
in class Property
public boolean compare(TypifiedProperty prop)
prop
- the other TypifiedProperty
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |