com.gentics.contentnode.rest.model.request
Class SetLanguageRequest

java.lang.Object
  extended by com.gentics.contentnode.rest.model.request.SetLanguageRequest

public class SetLanguageRequest
extends Object

Request to set the session language


Field Summary
protected  String code
          Language code of the language to be set
 
Constructor Summary
SetLanguageRequest()
          Create an empty instance
 
Method Summary
 String getCode()
          Get the language code
 void setCode(String code)
          Set the language code
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

code

protected String code
Language code of the language to be set

Constructor Detail

SetLanguageRequest

public SetLanguageRequest()
Create an empty instance

Method Detail

getCode

public String getCode()
Get the language code

Returns:
language code

setCode

public void setCode(String code)
Set the language code

Parameters:
code - language code


Copyright © 2015 Gentics Software GmbH. All Rights Reserved.