public class PublishInfo extends Object
| Constructor and Description |
|---|
PublishInfo()
Create a new publish info.
|
PublishInfo(String pid,
String publishtype,
Class<?> mapping,
UnparsedExpression[] properties)
Create a new publish info.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addProperty(UnparsedExpression property)
Add a property.
|
ClassInfo |
getMapping()
Get the mapping information (e.g. annotated interface).
|
List<UnparsedExpression> |
getProperties()
Get the properties.
|
String |
getPublishId()
Get the publishid.
|
String |
getPublishType()
Get the type.
|
void |
setMapping(ClassInfo mapping)
Set the mapping information (e.g. annotated interface).
|
void |
setProperties(List<UnparsedExpression> properties)
Set the properties.
|
void |
setPublishId(String pid)
Set the publishid.
|
void |
setPublishType(String type)
Set the type.
|
public PublishInfo()
public PublishInfo(String pid, String publishtype, Class<?> mapping, UnparsedExpression[] properties)
pid - The publish id, e.g. url.publishtype - The publish type.public String getPublishId()
public void setPublishId(String pid)
publishid - The publishid to set.public String getPublishType()
public void setPublishType(String type)
type - The type to set.public ClassInfo getMapping()
public void setMapping(ClassInfo mapping)
mapping - The mapping to set.public List<UnparsedExpression> getProperties()
public void setProperties(List<UnparsedExpression> properties)
properties - The properties to set.public void addProperty(UnparsedExpression property)
property - The property to add.Copyright © 2012. All Rights Reserved.