org.sakaiproject.entitybroker
Class IdEntityReference

java.lang.Object
  extended by org.sakaiproject.entitybroker.EntityReference
      extended by org.sakaiproject.entitybroker.IdEntityReference
All Implemented Interfaces:
Serializable, Cloneable

Deprecated. Use EntityReference directly, this will be removed eventually

public class IdEntityReference
extends EntityReference

Represents a parsed form of a simple entity reference, as accepted to the EntityBroker API. These are of the form /prefix/id - this parser will accept overlong references with additional path segments, which will be ignored.

Author:
Antranig Basman (antranig@caret.cam.ac.uk), Aaron Zeckoski (aaronz@vt.edu)
See Also:
Serialized Form

Field Summary
 String id
          Deprecated. use EntityReference.getId() to get the id
 
Fields inherited from class org.sakaiproject.entitybroker.EntityReference
originalReference, PERIOD, prefix, SEPARATOR
 
Constructor Summary
IdEntityReference(String reference)
          Deprecated. use EntityReference.EntityReference(String)
IdEntityReference(String prefix, String id)
          Deprecated. use EntityReference.EntityReference(String, String)
 
Method Summary
static String getID(String reference)
          Deprecated. do not use this method anymore, use the constructors for EntityReference
 
Methods inherited from class org.sakaiproject.entitybroker.EntityReference
checkPrefixId, checkReference, clone, copy, copy, findId, findPrefix, getId, getIdFromRef, getIdFromRefByKey, getOriginalReference, getPrefix, getPrefix, getReference, getSeparatorPos, getSpaceReference, isEmpty, makeEntityId, makeEntityPrefix, makeEntityReference, setOriginalReference, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

id

public String id
Deprecated. use EntityReference.getId() to get the id
Constructor Detail

IdEntityReference

public IdEntityReference(String reference)
Deprecated. use EntityReference.EntityReference(String)


IdEntityReference

public IdEntityReference(String prefix,
                         String id)
Deprecated. use EntityReference.EntityReference(String, String)

Method Detail

getID

public static String getID(String reference)
Deprecated. do not use this method anymore, use the constructors for EntityReference



Copyright © 2007-2013 Sakai Project. All Rights Reserved.