org.sakaiproject.entitybroker
Class IdEntityReference
java.lang.Object
org.sakaiproject.entitybroker.EntityReference
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
| 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 |
id
public String id
- Deprecated. use
EntityReference.getId() to get the id
IdEntityReference
public IdEntityReference(String reference)
- Deprecated. use
EntityReference.EntityReference(String)
IdEntityReference
public IdEntityReference(String prefix,
String id)
- Deprecated. use
EntityReference.EntityReference(String, String)
getID
public static String getID(String reference)
- Deprecated. do not use this method anymore, use the constructors for
EntityReference
Copyright © 2007-2012 Sakai Project. All Rights Reserved.