public class GUID extends Object
| Constructor and Description |
|---|
GUID() |
| Modifier and Type | Method and Description |
|---|---|
String |
getValue()
Returns a string that uniquely identifies the item.
|
boolean |
isPermaLink()
Says that this GUID is a permanent link or not.
|
void |
setPermaLink(boolean isPermaLink)
Specifies that this GUID is a permanent link or not.
|
void |
setValue(String value)
Initializes the string that uniquely identifies the item.
|
public String getValue()
null if not yet initialized.setValue(java.lang.String)public void setValue(String value)
value - a GUID value. Shall not be null.NullPointerException - if value is null.getValue()public boolean isPermaLink()
true, the reader may assume that it is a permalink to the item, that is, an url that can be opened in a Web browser, that points to the full item described by the item element.
If its value is false, the guid may not be assumed to be an url, or an url to anything in particular.
Example: "true".
Defaults to true.setPermaLink(boolean)public void setPermaLink(boolean isPermaLink)
isPermaLink - the permalink indicator.isPermaLink()Copyright © 2008–2017. All rights reserved.