public class UserData extends Data
Modifier and Type | Class and Description |
---|---|
static class |
UserData.Instantiator |
Modifier and Type | Field and Description |
---|---|
static String |
_dataType |
static String |
_IDPrefix |
DEFAULT_DATE
Constructor and Description |
---|
UserData(String gid,
DataID dataID,
Calendar lastUpdate,
DataAttributes attributes)
The constructor.
|
UserData(User user)
The constructor.
|
Modifier and Type | Method and Description |
---|---|
static DataID |
getDataID(User data,
UserPK pk)
Get the DataID
|
static String |
getDataType()
Get the data type string.
|
String |
getType() |
User |
getUser()
Get the User
|
getAttributes, getGridId, getId, getLastUpdate, setAttributes, setGridId, setId, setLastUpdate
public static final String _dataType
public static final String _IDPrefix
public UserData(User user) throws DataConvertException
user
- DataConvertException
public UserData(String gid, DataID dataID, Calendar lastUpdate, DataAttributes attributes) throws RequiredAttributeNotFoundException
gid
- dataID
- lastUpdate
- attributes
- RequiredAttributeNotFoundException
public User getUser() throws ParseException
ParseException
public static String getDataType()