|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.toremote.gateway.connection.SymLink
public class SymLink
symlink is a reference to resource, like server etc.
Field Summary | |
---|---|
protected java.lang.String |
id
|
protected java.lang.String |
password
|
protected java.lang.String |
resourceId
|
protected java.util.Date |
validFrom
|
protected java.lang.String |
validTime
|
protected java.util.Date |
validTo
|
Constructor Summary | |
---|---|
SymLink()
|
Method Summary | |
---|---|
void |
assign(SymLink other)
Copy values from another symlink |
Connection |
getConnectoin()
|
java.lang.String |
getId()
|
java.lang.String |
getPassword()
|
java.lang.String |
getResourceId()
|
java.util.Date |
getValidFrom()
|
java.lang.String |
getValidTime()
|
java.util.Date |
getValidTo()
|
boolean |
isExpired()
|
boolean |
isValid()
|
void |
setId(java.lang.String id)
set id for this symlink |
void |
setPassword(java.lang.String password)
set up password for this symlink |
void |
setResourceId(java.lang.String resourceId)
set up which resource (server) was referred to, |
void |
setValidFrom(java.util.Date validFrom)
set up valid date |
void |
setValidTime(java.lang.String validTime)
set up valid period, can be 2y,2M,2d,2h,2m, 2s --> 2 years, 2 months |
void |
setValidTo(java.util.Date validTo)
set up expire date |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.lang.String id
protected java.lang.String resourceId
protected java.lang.String password
protected java.util.Date validFrom
protected java.lang.String validTime
protected java.util.Date validTo
Constructor Detail |
---|
public SymLink()
Method Detail |
---|
public java.lang.String getId()
public void setId(java.lang.String id)
id
- public java.lang.String getResourceId()
public void setResourceId(java.lang.String resourceId)
resourceId
- public java.util.Date getValidFrom()
public void setValidFrom(java.util.Date validFrom)
validFrom
- public java.lang.String getValidTime()
public void setValidTime(java.lang.String validTime)
validTime
- public java.util.Date getValidTo()
public void setValidTo(java.util.Date validTo)
validTo
- public java.lang.String getPassword()
public void setPassword(java.lang.String password)
password
- public boolean isValid()
public boolean isExpired()
public Connection getConnectoin()
public void assign(SymLink other)
other
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |