/* * (C) Copyright 2006-2013 Nuxeo SA (http://nuxeo.com/) and others. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * * Contributors: * Vladimir Pasquier <vpasquier@nuxeo.com> */ package org.nuxeo.ecm.automation.server.test.business.client; import org.nuxeo.ecm.automation.client.annotations.EntityType; /** * Automation client File pojo example - Annotated by EntityType setting the document model adapter simple name to map * server side */ @EntityType("BusinessBeanAdapter") public class BusinessBean { protected String title; protected String description; protected String id; protected String note; protected String type; protected Object object; public BusinessBean() { } public BusinessBean(String title, String description, String note, String type, Object object) { this.title = title; this.description = description; this.note = note; this.type = type; this.object = object; } public Object getObject() { return object; } public void setObject(Object object) { this.object = object; } public String getType() { return type; } public void setType(String type) { this.type = type; } public String getNote() { return note; } public void setNote(String note) { this.note = note; } public String getTitle() { return title; } public void setTitle(String title) { this.title = title; } public String getDescription() { return description; } public void setDescription(String description) { this.description = description; } public String getId() { return id; } public void setId(String id) { this.id = id; } }