TimeStamp
Contents
[
Hide
]
Inheritance: java.lang.Object
public class TimeStamp
Represents data to get time stamp from third-party site.
Constructors
Constructor | Description |
---|---|
TimeStamp() | |
TimeStamp(String url, String user, String password) | Instantiates new time stamp structure. |
Methods
Method | Description |
---|---|
getUrl() | Url of third-party site. |
setUrl(String value) | Url of third-party site. |
getUser() | User. |
setUser(String value) | User. |
getPassword() | Password. |
setPassword(String value) | Password. |
CloneTo(TimeStamp that) | |
Clone() | |
clone() | |
equals(Object obj) | |
hashCode() | |
equals(TimeStamp obj1, TimeStamp obj2) |
TimeStamp()
public TimeStamp()
TimeStamp(String url, String user, String password)
public TimeStamp(String url, String user, String password)
Instantiates new time stamp structure.
Parameters:
Parameter | Type | Description |
---|---|---|
url | java.lang.String | Url of third-party site. |
user | java.lang.String | User. |
password | java.lang.String | Password. |
getUrl()
public final String getUrl()
Url of third-party site.
Returns: java.lang.String
setUrl(String value)
public final void setUrl(String value)
Url of third-party site.
Parameters:
Parameter | Type | Description |
---|---|---|
value | java.lang.String |
getUser()
public final String getUser()
User.
Returns: java.lang.String
setUser(String value)
public final void setUser(String value)
User.
Parameters:
Parameter | Type | Description |
---|---|---|
value | java.lang.String |
getPassword()
public final String getPassword()
Password.
Returns: java.lang.String
setPassword(String value)
public final void setPassword(String value)
Password.
Parameters:
Parameter | Type | Description |
---|---|---|
value | java.lang.String |
CloneTo(TimeStamp that)
public void CloneTo(TimeStamp that)
Parameters:
Parameter | Type | Description |
---|---|---|
that | TimeStamp |
Clone()
public TimeStamp Clone()
Returns: TimeStamp
clone()
public Object clone()
Returns: java.lang.Object
equals(Object obj)
public boolean equals(Object obj)
Parameters:
Parameter | Type | Description |
---|---|---|
obj | java.lang.Object |
Returns: boolean
hashCode()
public int hashCode()
Returns: int
equals(TimeStamp obj1, TimeStamp obj2)
public static boolean equals(TimeStamp obj1, TimeStamp obj2)
Parameters:
Parameter | Type | Description |
---|---|---|
obj1 | TimeStamp | |
obj2 | TimeStamp |
Returns: boolean