The Mozilla
Organization
Our Mission
Who We Are
Getting Involved
Community
Editorials
What's New
Newsbot
Development
Roadmap
Module Owners
Blue Sky
Projects
Status
Tools
Products
Source Code
Binaries
Documentation
License Terms
Bug Reports
Quality
Search
Feedback
Class grendel.addressbook.AddressCard.AC_Attribute
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

Copyright © 1998-1999 The Mozilla Organization.