/* * (c) Copyright Reserved EVRYTHNG Limited 2016. All rights reserved. * Use of this material is subject to license. * Copying and unauthorised use of this material strictly prohibited. */ package com.evrythng.thng.resource.model.store.action; /** * Model for a custom action. **/ public class CustomAction extends ThngAction { private static final long serialVersionUID = 1740656538764246719L; public static final String FIELD_COLLECTION = "collection"; private String collection; public CustomAction() { } public CustomAction(String type) { setType(type); } public String getCollection() { return collection; } public void setCollection(final String collection) { this.collection = collection; } /** * {@inheritDoc} */ @Override public void accept(ActionVisitor visitor) { visitor.visit(this); } }