Methods Summary |
---|
public void | addEmailAddress(EmailAddress emailAddress)
emailAddresses.addElement(emailAddress);
|
public void | addExtendedProperty(com.google.wireless.gdata.data.ExtendedProperty extendedProperty)
extendedProperties.addElement(extendedProperty);
|
public void | addGroup(GroupMembershipInfo group)
groups.addElement(group);
|
public void | addImAddress(ImAddress imAddress)
imAddresses.addElement(imAddress);
|
public void | addOrganization(Organization organization)
organizations.addElement(organization);
|
public void | addPhoneNumber(PhoneNumber phoneNumber)
phoneNumbers.addElement(phoneNumber);
|
public void | addPostalAddress(PostalAddress postalAddress)
postalAddresses.addElement(postalAddress);
|
public void | clear()
super.clear();
linkEditPhotoHref = null;
linkEditPhotoType = null;
linkPhotoHref = null;
linkPhotoType = null;
emailAddresses.removeAllElements();
imAddresses.removeAllElements();
phoneNumbers.removeAllElements();
postalAddresses.removeAllElements();
organizations.removeAllElements();
extendedProperties.removeAllElements();
groups.removeAllElements();
yomiName = null;
|
public java.util.Vector | getEmailAddresses()
return emailAddresses;
|
public java.util.Vector | getExtendedProperties()
return extendedProperties;
|
public java.util.Vector | getGroups()
return groups;
|
public java.util.Vector | getImAddresses()
return imAddresses;
|
public java.lang.String | getLinkEditPhotoHref()
return linkEditPhotoHref;
|
public java.lang.String | getLinkEditPhotoType()
return linkEditPhotoType;
|
public java.lang.String | getLinkPhotoHref()
return linkPhotoHref;
|
public java.lang.String | getLinkPhotoType()
return linkPhotoType;
|
public java.util.Vector | getOrganizations()
return organizations;
|
public java.util.Vector | getPhoneNumbers()
return phoneNumbers;
|
public java.util.Vector | getPostalAddresses()
return postalAddresses;
|
public java.lang.String | getYomiName()
return yomiName;
|
public void | setLinkEditPhoto(java.lang.String href, java.lang.String type)
this.linkEditPhotoHref = href;
this.linkEditPhotoType = type;
|
public void | setLinkPhoto(java.lang.String href, java.lang.String type)
this.linkPhotoHref = href;
this.linkPhotoType = type;
|
public void | setYomiName(java.lang.String yomiName)
this.yomiName = yomiName;
|
protected void | toString(java.lang.StringBuffer sb)
super.toString(sb);
sb.append("\n");
sb.append("ContactEntry:");
if (!StringUtils.isEmpty(linkPhotoHref)) {
sb.append(" linkPhotoHref:").append(linkPhotoHref).append("\n");
}
if (!StringUtils.isEmpty(linkPhotoType)) {
sb.append(" linkPhotoType:").append(linkPhotoType).append("\n");
}
if (!StringUtils.isEmpty(linkEditPhotoHref)) {
sb.append(" linkEditPhotoHref:").append(linkEditPhotoHref).append("\n");
}
if (!StringUtils.isEmpty(linkEditPhotoType)) {
sb.append(" linkEditPhotoType:").append(linkEditPhotoType).append("\n");
}
for (Enumeration iter = emailAddresses.elements();
iter.hasMoreElements(); ) {
sb.append(" ");
((EmailAddress) iter.nextElement()).toString(sb);
sb.append("\n");
}
for (Enumeration iter = imAddresses.elements();
iter.hasMoreElements(); ) {
sb.append(" ");
((ImAddress) iter.nextElement()).toString(sb);
sb.append("\n");
}
for (Enumeration iter = postalAddresses.elements();
iter.hasMoreElements(); ) {
sb.append(" ");
((PostalAddress) iter.nextElement()).toString(sb);
sb.append("\n");
}
for (Enumeration iter = phoneNumbers.elements();
iter.hasMoreElements(); ) {
sb.append(" ");
((PhoneNumber) iter.nextElement()).toString(sb);
sb.append("\n");
}
for (Enumeration iter = organizations.elements();
iter.hasMoreElements(); ) {
sb.append(" ");
((Organization) iter.nextElement()).toString(sb);
sb.append("\n");
}
for (Enumeration iter = extendedProperties.elements();
iter.hasMoreElements(); ) {
sb.append(" ");
((ExtendedProperty) iter.nextElement()).toString(sb);
sb.append("\n");
}
for (Enumeration iter = groups.elements();
iter.hasMoreElements(); ) {
sb.append(" ");
((GroupMembershipInfo) iter.nextElement()).toString(sb);
sb.append("\n");
}
if (!StringUtils.isEmpty(yomiName)) {
sb.append(" yomiName:").append(yomiName).append("\n");
}
|
public void | validate()
super.validate();
for (Enumeration iter = emailAddresses.elements(); iter.hasMoreElements(); ) {
((EmailAddress) iter.nextElement()).validate();
}
for (Enumeration iter = imAddresses.elements(); iter.hasMoreElements(); ) {
((ImAddress) iter.nextElement()).validate();
}
for (Enumeration iter = postalAddresses.elements(); iter.hasMoreElements(); ) {
((PostalAddress) iter.nextElement()).validate();
}
for (Enumeration iter = phoneNumbers.elements(); iter.hasMoreElements(); ) {
((PhoneNumber) iter.nextElement()).validate();
}
for (Enumeration iter = organizations.elements(); iter.hasMoreElements(); ) {
((Organization) iter.nextElement()).validate();
}
for (Enumeration iter = extendedProperties.elements(); iter.hasMoreElements(); ) {
((ExtendedProperty) iter.nextElement()).validate();
}
for (Enumeration iter = groups.elements(); iter.hasMoreElements(); ) {
((GroupMembershipInfo) iter.nextElement()).validate();
}
|