public class MongoId extends Object
| Constructor and Description |
|---|
MongoId() |
| Modifier and Type | Method and Description |
|---|---|
int |
getCounter() |
Date |
getDate() |
int |
getMachineIdentifier() |
short |
getProcessIdentifier() |
String |
getTime() |
int |
getTimeSecond() |
int |
getTimestamp() |
void |
setCounter(int counter) |
void |
setDate(Date date) |
void |
setMachineIdentifier(int machineIdentifier) |
void |
setProcessIdentifier(short processIdentifier) |
void |
setTime(String time) |
void |
setTimeSecond(int timeSecond) |
void |
setTimestamp(int timestamp) |
byte[] |
toByteArray()
Convert to a byte array.
|
String |
toHexString() |
String |
toString() |
public Date getDate()
public void setDate(Date date)
public int getTimeSecond()
public void setTimeSecond(int timeSecond)
public String getTime()
public void setTime(String time)
public int getTimestamp()
public void setTimestamp(int timestamp)
public int getMachineIdentifier()
public void setMachineIdentifier(int machineIdentifier)
public short getProcessIdentifier()
public void setProcessIdentifier(short processIdentifier)
public int getCounter()
public void setCounter(int counter)
public String toHexString()
public byte[] toByteArray()
Copyright © 2016. All rights reserved.