com.macromedia.rssu
Class Guid

java.lang.Object
  extended bycom.macromedia.rssu.RssType
      extended bycom.macromedia.rssu.Guid

public class Guid
extends RssType

A Guid is Global Unique Id. It is a unique id, typically A link. It can optionally be a permaLink.


Constructor Summary
Guid()
           
Guid(java.lang.String id)
          Create a global unique id, assume that it it isn't a perma-link
Guid(java.lang.String id, boolean isPerma)
          Create a global unique id and provide the id and its permalink status
 
Method Summary
 java.lang.String getId()
          Access the property "id" on this instance of Guid.
 boolean getIsPermaLink()
          Access the property "isPermaLink" on this instance of Guid.
 void setId(java.lang.String id)
          Set the property "id" on this instance of Guid.
 void setIsPermaLink(boolean isPermaLink)
          Set the property "isPermaLink" on this instance of Guid.
 
Methods inherited from class com.macromedia.rssu.RssType
getProperty, setProperty, setProperty, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Guid

public Guid()

Guid

public Guid(java.lang.String id)
Create a global unique id, assume that it it isn't a perma-link

Parameters:
id - is the id to use

Guid

public Guid(java.lang.String id,
            boolean isPerma)
Create a global unique id and provide the id and its permalink status

Parameters:
id - is the global id
isPerma - is true if this id represents a permalink
Method Detail

setId

public void setId(java.lang.String id)
Set the property "id" on this instance of Guid.

Parameters:
id - is the value of id to use

getId

public java.lang.String getId()
Access the property "id" on this instance of Guid.

Returns:
our current value of id

setIsPermaLink

public void setIsPermaLink(boolean isPermaLink)
Set the property "isPermaLink" on this instance of Guid.

Parameters:
isPermaLink - is the value of isPermaLink to use

getIsPermaLink

public boolean getIsPermaLink()
Access the property "isPermaLink" on this instance of Guid.

Returns:
our current value of isPermaLink