|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.funambol.common.pim.model.model.Property
public class Property
This object represents a property for ICalendar (V2), VCalendar, VNote object (i.e. its value and its parameters)
Constructor Summary | |
---|---|
Property(PropertySemantics ps,
java.lang.String v)
Constructor for a property |
|
Property(java.lang.String n,
boolean x,
java.util.List p,
java.lang.String v)
Constructor for a property |
|
Property(java.lang.String n,
java.lang.String v)
Constructor for a property |
Method Summary | |
---|---|
void |
accept(Visitor v)
visitor. |
java.lang.Object |
accept(VisitorObject v,
java.lang.Object argu)
visitor with arguments. |
void |
addParameter(Parameter p)
|
java.lang.Object |
clone()
|
int |
compareTo(java.lang.Object o)
|
void |
delParameter(Parameter p)
|
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getName()
|
Parameter |
getParameter(java.lang.String name)
|
java.util.List |
getParameters()
|
PropertySemantics |
getPs()
|
java.lang.String |
getValue()
|
boolean |
isCustom()
|
void |
setParameter(Parameter p)
|
void |
setParameters(java.util.List parameters)
|
void |
setPropertySemantics(PropertySemantics ps)
Adds the semantics object of the property. |
void |
setValue(java.lang.String value)
|
java.lang.String |
toString()
|
java.lang.StringBuffer |
toString(java.lang.StringBuffer buffer)
|
Methods inherited from class java.lang.Object |
---|
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Property(java.lang.String n, boolean x, java.util.List p, java.lang.String v)
n
- The name of the property.x
- Indicator if it is a custom property.p
- The parameter list.v
- The value of the property.public Property(java.lang.String n, java.lang.String v)
n
- The name of the property.v
- The value of the property.public Property(PropertySemantics ps, java.lang.String v)
ps
- The semantics of the property.v
- The value of the property.Method Detail |
---|
public void setPropertySemantics(PropertySemantics ps)
public void accept(Visitor v) throws VisitorException
accept
in interface VisitorInterface
v
- the visitor
VisitorException
public java.lang.Object accept(VisitorObject v, java.lang.Object argu) throws VisitorException
accept
in interface VisitorInterface
v
- the visitorargu
- the argument
VisitorException
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.StringBuffer toString(java.lang.StringBuffer buffer)
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int compareTo(java.lang.Object o)
compareTo
in interface java.lang.Comparable
public void addParameter(Parameter p)
public void delParameter(Parameter p)
public Parameter getParameter(java.lang.String name)
public void setParameter(Parameter p)
public PropertySemantics getPs()
public java.lang.String getName()
public boolean isCustom()
public java.util.List getParameters()
public void setParameters(java.util.List parameters)
public java.lang.String getValue()
public void setValue(java.lang.String value)
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in class java.lang.Object
java.lang.CloneNotSupportedException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |