org.eclipse.higgins.idas.cp.google
Class GDataEntity

java.lang.Object
  extended by org.eclipse.higgins.idas.spi.BasicEntity
      extended by org.eclipse.higgins.idas.cp.google.GDataEntity
All Implemented Interfaces:
org.eclipse.higgins.idas.api.IEntity, org.eclipse.higgins.idas.api.IHasAttributes, org.eclipse.higgins.idas.api.IValue, org.eclipse.higgins.idas.spi.IAttributeContainer

public class GDataEntity
extends org.eclipse.higgins.idas.spi.BasicEntity


Field Summary
 
Fields inherited from interface org.eclipse.higgins.idas.api.IValue
BASE_OWL_URI
 
Constructor Summary
GDataEntity(org.eclipse.higgins.idas.api.IContext context, URI uriType, String entityID)
           
GDataEntity(org.eclipse.higgins.idas.api.IContext context, URI uriType, String entityID, com.google.gdata.data.contacts.ContactEntry contact)
           
 
Method Summary
 org.eclipse.higgins.idas.api.IAttribute addAttribute(URI type)
           
 org.eclipse.higgins.idas.api.IAttribute getAttribute(URI attrID)
           
 Iterator<org.eclipse.higgins.idas.api.IAttribute> getAttributes()
           
 String toString()
           
 
Methods inherited from class org.eclipse.higgins.idas.spi.BasicEntity
addAttribute, addAttributeValue, equals, getContext, getEntityID, getModel, getSingleValuedAttribute, getType, getValueModel, isProxy, isSimple, remove, removeAttribute, removeAttributeValue, removeAttributeValue, updateNotification
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GDataEntity

public GDataEntity(org.eclipse.higgins.idas.api.IContext context,
                   URI uriType,
                   String entityID)
            throws org.eclipse.higgins.idas.api.IdASException
Throws:
org.eclipse.higgins.idas.api.IdASException

GDataEntity

public GDataEntity(org.eclipse.higgins.idas.api.IContext context,
                   URI uriType,
                   String entityID,
                   com.google.gdata.data.contacts.ContactEntry contact)
            throws org.eclipse.higgins.idas.api.IdASException
Throws:
org.eclipse.higgins.idas.api.IdASException
Method Detail

addAttribute

public org.eclipse.higgins.idas.api.IAttribute addAttribute(URI type)
                                                     throws org.eclipse.higgins.idas.api.IdASException
Specified by:
addAttribute in interface org.eclipse.higgins.idas.api.IHasAttributes
Overrides:
addAttribute in class org.eclipse.higgins.idas.spi.BasicEntity
Throws:
org.eclipse.higgins.idas.api.IdASException

getAttribute

public org.eclipse.higgins.idas.api.IAttribute getAttribute(URI attrID)
                                                     throws org.eclipse.higgins.idas.api.IdASException
Specified by:
getAttribute in interface org.eclipse.higgins.idas.api.IHasAttributes
Overrides:
getAttribute in class org.eclipse.higgins.idas.spi.BasicEntity
Throws:
org.eclipse.higgins.idas.api.IdASException

getAttributes

public Iterator<org.eclipse.higgins.idas.api.IAttribute> getAttributes()
                                                                throws org.eclipse.higgins.idas.api.IdASException
Specified by:
getAttributes in interface org.eclipse.higgins.idas.api.IHasAttributes
Overrides:
getAttributes in class org.eclipse.higgins.idas.spi.BasicEntity
Throws:
org.eclipse.higgins.idas.api.IdASException

toString

public String toString()
Overrides:
toString in class Object