public class LocalId extends Object
http://opensocial-resources.googlecode.com/svn/spec/2.0.1/Core-Data.xml#Local-Id| Constructor and Description |
|---|
LocalId(String localId)
Constructor for LocalId.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getLocalId()
Get the stored localId.
|
int |
hashCode() |
boolean |
setLocalId(String localId)
Sets the localId after validating its format
|
String |
toString() |
public LocalId(String localId) throws IllegalArgumentException
localId - String to try and create LocalId fromIllegalArgumentExceptionpublic String getLocalId()
public boolean setLocalId(String localId) throws IllegalArgumentException
localId - StringIllegalArgumentExceptionCopyright © 2007-2014 The Apache Software Foundation. All Rights Reserved.