Home | History | Annotate | Download | only in pim

Lines Matching defs:Property

77         private final LinkedHashMap<String, ArrayList<Property>> mPropsMap =
78 new LinkedHashMap<String, ArrayList<Property>>();
135 * Adds a Property to this component.
138 public void addProperty(Property prop) {
140 ArrayList<Property> props = mPropsMap.get(name);
142 props = new ArrayList<Property>();
149 * Returns a set of the property names within this component.
150 * @return A set of property names within this component.
159 * @param name The name of the property that should be returned.
162 public List<Property> getProperties(String name) {
167 * Returns the first property with the specified name. Returns null
168 * if there is no such property.
169 * @param name The name of the property that should be returned.
170 * @return The first property with the specified name.
172 public Property getFirstProperty(String name) {
173 List<Property> props = mPropsMap.get(name);
201 for (Property property : getProperties(propertyName)) {
202 property.toString(sb);
222 * A property within an iCalendar component (e.g., DTSTART, DTEND, etc.,
225 public static class Property {
243 * Creates a new property with the provided name.
244 * @param name The name of the property.
246 public Property(String name) {
251 * Creates a new property with the provided name and value.
252 * @param name The name of the property.
253 * @param value The value of the property.
255 public Property(String name, String value) {
261 * Returns the name of the property.
262 * @return The name of the property.
269 * Returns the value of this property.
270 * @return The value of this property.
277 * Sets the value of this property.
278 * @param value The desired value for this property.
285 * Adds a {@link Parameter} to this property.
298 * Returns the set of parameter names for this property.
299 * @return The set of parameter names for this property.
337 * Helper method that appends this property to a StringBuilder. The
338 * caller is responsible for appending a newline after this property.
355 * A parameter defined for an iCalendar property.
489 Property property;
507 property = new Property(name);
513 property.addParameter(parameter);
517 property.setValue(value);
518 component.addProperty(property);