com.gentics.contentnode.rest.model.response
Class NodeFeatureResponse

java.lang.Object
  extended by com.gentics.contentnode.rest.model.response.GenericResponse
      extended by com.gentics.contentnode.rest.model.response.NodeFeatureResponse

public class NodeFeatureResponse
extends GenericResponse

Response containing the activated features


Field Summary
protected  java.util.List<NodeFeature> features
          Activated features
 
Constructor Summary
NodeFeatureResponse()
          Empty constructor
NodeFeatureResponse(Message message, ResponseInfo responseInfo)
          Create an instance with message and response info
NodeFeatureResponse(ResponseInfo responseInfo, java.util.List<NodeFeature> features)
          Create an instance with empty message, but given response info and features
 
Method Summary
 java.util.List<NodeFeature> getFeatures()
          Get the activated features
 void setFeatures(java.util.List<NodeFeature> features)
          Set the activated features
 
Methods inherited from class com.gentics.contentnode.rest.model.response.GenericResponse
addMessage, getMessages, getResponseInfo, setMessages, setResponseInfo
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

features

protected java.util.List<NodeFeature> features
Activated features

Constructor Detail

NodeFeatureResponse

public NodeFeatureResponse()
Empty constructor


NodeFeatureResponse

public NodeFeatureResponse(ResponseInfo responseInfo,
                           java.util.List<NodeFeature> features)
Create an instance with empty message, but given response info and features

Parameters:
responseInfo - response info
features - features

NodeFeatureResponse

public NodeFeatureResponse(Message message,
                           ResponseInfo responseInfo)
Create an instance with message and response info

Parameters:
message - message
responseInfo - response info
Method Detail

getFeatures

public java.util.List<NodeFeature> getFeatures()
Get the activated features

Returns:
activated features

setFeatures

public void setFeatures(java.util.List<NodeFeature> features)
Set the activated features

Parameters:
features - activated features


Copyright © 2014 Gentics Software GmbH. All Rights Reserved.