You are currently viewing a snapshot of www.mozilla.org taken on April 21, 2008. Most of this content is highly out of date (some pages haven't been updated since the project began in 1998) and exists for historical purposes only. If there are any pages on this archive site that you think should be added back to www.mozilla.org, please file a bug.



All Packages  This Package  Class Hierarchy  Class Search  Index

Class grendel.addressbook.AddressCard.AC_Attribute

java.lang.Object
   |
   +----grendel.addressbook.AddressCard.AC_Attribute

public class  AC_Attribute
     extends java.lang.Object
     implements grendel.addressbook.AddressCard.IAttribute
{
          // Fields 2
     private String fName;
     private Vector fValues;

          // Constructors 3
     public AC_Attribute(String);
     public AC_Attribute(String, String);
     public AC_Attribute(String, String[]);

          // Methods 7
     public void add(String);
     public String getName();
     public Enumeration getStringValues();
     public String getValue();
     public boolean isDeleted();
     public boolean isModified();
     public boolean isNew();
}



Fields


fName

   private String fName


fValues

   private Vector fValues



Constructors


AC_Attribute

   public AC_Attribute(String aName, 
                       String[] aValues) 

Create an attribute with mutliple values.



AC_Attribute

   public AC_Attribute(String aName, 
                       String aValue) 

Create an attribute with one value.



AC_Attribute

   public AC_Attribute(String aName) 

Create an attribute with no values.




Methods


add

   public void add(String aValue) 

Add an value to this attribute



getName

   public String getName() 

Return the name of this attribute.

Implements:
getName in interface IAttribute


getValue

   public String getValue() 

Return the first string value of this attribute.

Implements:
getValue in interface IAttribute


getStringValues

   public Enumeration getStringValues() 

Return the string values of this attribute.



isNew

   public boolean isNew() 

Has the attribute new to the parent?

Implements:
isNew in interface IAttribute


isDeleted

   public boolean isDeleted() 

Has the attribute been deleted since the last update with it's parent.

Implements:
isDeleted in interface IAttribute


isModified

   public boolean isModified() 

Has the attribute been modified since the last update with it's parent.

Implements:
isModified in interface IAttribute


All Packages  This Package  Class Hierarchy  Class Search  Index
Freshly brewed Java API Documentation automatically generated with polardoc Version 1.0.4