public class Item extends Object
This class can be augmented with the item's type and a representational URL by the form processor used to process the item.
Modifier and Type | Field and Description |
---|---|
protected String |
id |
protected String |
kind |
protected String |
type |
protected String |
url |
Constructor and Description |
---|
Item(String kind,
String id)
Constructs an item.
|
Modifier and Type | Method and Description |
---|---|
String |
getId()
Returns the identifier of the item
|
String |
getKind()
Returns the kind of item.
|
String |
getType()
Returns the type of the item the form is for, could be a content model type, a
workflow task type, an XML schema etc.
|
String |
getUrl()
Returns a URL that represents the item
|
void |
setType(String type)
Sets the type of the item
|
void |
setUrl(String url)
Sets the URL that represents the item
|
String |
toString() |
protected String kind
protected String id
protected String type
protected String url
public String getKind()
public String getId()
public String getType()
public String getUrl()
public void setType(String type)
type
- The typepublic void setUrl(String url)
url
- The URLCopyright © 2005–2017 Alfresco Software. All rights reserved.