Constructor and Description |
---|
Item() |
Modifier and Type | Method and Description |
---|---|
protected static String |
convertDate(Date date)
Converts a date to a JSON date according to the OData specification.
|
protected static String |
escapeString(String unEscapedString)
Escapes a String so it can be used in JSON.
|
Date |
getCreationDate() |
long |
getId() |
int |
getItemId() |
int |
getItemPublicationId() |
int |
getItemType() |
Date |
getLastModifiedDate() |
int |
getNamespaceId() |
User |
getUser() |
void |
setCreationDate(Date creationDate) |
void |
setId(long id) |
void |
setItemId(int itemId) |
void |
setItemPublicationId(int itemPublicationId) |
void |
setItemType(int itemType) |
void |
setLastModifiedDate(Date lastModifiedDate) |
void |
setNamespaceId(int namespaceId) |
void |
setUser(User user) |
protected String |
toJSON() |
public int getNamespaceId()
public void setNamespaceId(int namespaceId)
public long getId()
public void setId(long id)
public int getItemPublicationId()
public void setItemPublicationId(int itemPublicationId)
public int getItemId()
public void setItemId(int itemId)
public int getItemType()
public void setItemType(int itemType)
public Date getCreationDate()
public void setCreationDate(Date creationDate)
public Date getLastModifiedDate()
public void setLastModifiedDate(Date lastModifiedDate)
public User getUser()
public void setUser(User user)
protected String toJSON()
protected static String convertDate(Date date)
date
- a date instance.Copyright (c) 2014-2021 All Rights Reserved by the RWS Group for and on behalf of its affiliates and subsidiaries