public class RestRepresentation extends Object implements PropertyChangeNotifier, PropertyChangeListener
Modifier and Type | Class and Description |
---|---|
static class |
RestRepresentation.Type |
Constructor and Description |
---|
RestRepresentation(RestMethod restMethod,
RestResourceRepresentationConfig config) |
public RestRepresentation(RestMethod restMethod, RestResourceRepresentationConfig config)
public RestMethod getRestMethod()
public RestResourceRepresentationConfig getConfig()
public RestParamsPropertyHolder getParams()
public void setConfig(RestResourceRepresentationConfig config)
public String getId()
public RestRepresentation.Type getType()
public String getMediaType()
public void setId(String arg0)
public void setType(RestRepresentation.Type type)
public void setMediaType(String arg0)
public void setElement(QName name)
public List<?> getStatus()
public void setStatus(List<?> arg0)
public org.apache.xmlbeans.SchemaType getSchemaType()
public void release()
public void setDescription(String description)
public String getDescription()
public QName getElement()
public void addPropertyChangeListener(PropertyChangeListener listener)
addPropertyChangeListener
in interface PropertyChangeNotifier
public void addPropertyChangeListener(String propertyName, PropertyChangeListener listener)
addPropertyChangeListener
in interface PropertyChangeNotifier
public void removePropertyChangeListener(PropertyChangeListener listener)
removePropertyChangeListener
in interface PropertyChangeNotifier
public void removePropertyChangeListener(String propertyName, PropertyChangeListener listener)
removePropertyChangeListener
in interface PropertyChangeNotifier
public String getDefaultContent()
public void propertyChange(PropertyChangeEvent evt)
propertyChange
in interface PropertyChangeListener
Copyright © 2019. All Rights Reserved.