public class CreatePropertyParameter extends Object
Constructor and Description |
---|
CreatePropertyParameter()
Default Constuctor necessary for json parsing
|
CreatePropertyParameter(javax.ws.rs.core.MultivaluedMap<String,String> valueMap,
Long userId)
This constructor parses all incoming parameter of a request into the class structure
|
CreatePropertyParameter(String representation,
Long userId) |
Modifier and Type | Method and Description |
---|---|
String |
getKey()
Returns the Key.
|
String |
getKeyGroup()
Returns the KeyGroup.
|
Long |
getUserId()
Returns the UserId.
|
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 |
setUserId(Long userId)
Sets UserId.
|
void |
setValue(String value)
Sets Value.
|
public CreatePropertyParameter()
public CreatePropertyParameter(javax.ws.rs.core.MultivaluedMap<String,String> valueMap, Long userId) throws RestApiIllegalRequestParameterException
public CreatePropertyParameter(String representation, Long userId) throws org.codehaus.jackson.JsonParseException, org.codehaus.jackson.map.JsonMappingException, IOException
org.codehaus.jackson.JsonParseException
org.codehaus.jackson.map.JsonMappingException
IOException
public void setUserId(Long userId)
userId
- public Long getUserId()
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.