public class GetPropertyParameter extends Object
Constructor and Description |
---|
GetPropertyParameter()
Default Constuctor necessary for json parsing
|
GetPropertyParameter(javax.ws.rs.core.MultivaluedMap<String,String> valueMap,
Long propertyId,
Long noteId)
This constructor parses all incoming parameter of a request into the class structure
|
GetPropertyParameter(String representation,
Long propertyId,
Long noteId) |
Modifier and Type | Method and Description |
---|---|
String |
getKey()
Returns the Key.
|
String |
getKeyGroup()
Returns the KeyGroup.
|
Long |
getNoteId()
Returns the NoteId.
|
Long |
getPropertyId()
Returns the PropertyId.
|
String |
getValue()
Returns the Value.
|
void |
handleUnknownProperties(String key,
Object value)
Log unknown properties to loglevel warn.
|
void |
setKey(String key)
Sets Key.
|
void |
setKeyGroup(String keyGroup)
Sets KeyGroup.
|
void |
setNoteId(Long noteId)
Sets NoteId.
|
void |
setPropertyId(Long propertyId)
Sets PropertyId.
|
void |
setValue(String value)
Sets Value.
|
public GetPropertyParameter()
public GetPropertyParameter(javax.ws.rs.core.MultivaluedMap<String,String> valueMap, Long propertyId, Long noteId) throws RestApiIllegalRequestParameterException
public GetPropertyParameter(String representation, Long propertyId, Long noteId) throws org.codehaus.jackson.JsonParseException, org.codehaus.jackson.map.JsonMappingException, IOException
org.codehaus.jackson.JsonParseException
org.codehaus.jackson.map.JsonMappingException
IOException
public void setPropertyId(Long propertyId)
propertyId
- public Long getPropertyId()
public void setNoteId(Long noteId)
noteId
- public Long getNoteId()
public void setKeyGroup(String keyGroup)
keyGroup
- public String getKeyGroup()
public void setKey(String key)
key
- public String getKey()
public void setValue(String value)
value
- public String getValue()
Copyright © 2019 Communote team. All rights reserved.