org.eclipse.higgins.sts.common
Class Timestamp

java.lang.Object
  extended byorg.eclipse.higgins.sts.common.Timestamp
All Implemented Interfaces:
org.eclipse.higgins.sts.api.ISecurityElement, org.eclipse.higgins.sts.api.ITimestamp

public class Timestamp
extends Object
implements org.eclipse.higgins.sts.api.ITimestamp

Author:
mikemci

Constructor Summary
Timestamp()
           
 
Method Summary
 void fromElement(org.eclipse.higgins.sts.api.IElement element)
           
 Date getCreated()
           
 Date getExpires()
           
 String getId()
           
 void setCreated(Date dtCreated)
           
 void setExpires(Date dtExpires)
           
 void setId(String strId)
           
 org.eclipse.higgins.sts.api.IElement toElement()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Timestamp

public Timestamp()
Method Detail

getCreated

public Date getCreated()
Specified by:
getCreated in interface org.eclipse.higgins.sts.api.ITimestamp

getExpires

public Date getExpires()
Specified by:
getExpires in interface org.eclipse.higgins.sts.api.ITimestamp

setCreated

public void setCreated(Date dtCreated)
Specified by:
setCreated in interface org.eclipse.higgins.sts.api.ITimestamp

setExpires

public void setExpires(Date dtExpires)
Specified by:
setExpires in interface org.eclipse.higgins.sts.api.ITimestamp

fromElement

public void fromElement(org.eclipse.higgins.sts.api.IElement element)
                 throws Exception
Specified by:
fromElement in interface org.eclipse.higgins.sts.api.ISecurityElement
Throws:
Exception

toElement

public org.eclipse.higgins.sts.api.IElement toElement()
                                               throws Exception
Specified by:
toElement in interface org.eclipse.higgins.sts.api.ISecurityElement
Throws:
Exception

getId

public String getId()
Specified by:
getId in interface org.eclipse.higgins.sts.api.ITimestamp

setId

public void setId(String strId)
Specified by:
setId in interface org.eclipse.higgins.sts.api.ITimestamp