com.evrythng.thng.resource.model.store.action.CustomAction Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of thng-resource-model Show documentation
Show all versions of thng-resource-model Show documentation
Models for REST resources representations.
/*
* (c) Copyright 2013 EVRYTHNG Ltd London / Zurich
* www.evrythng.com
*/
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);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy