Add support for nested type of query parameter
[smart-dao.git] / smart-exim / smart-exim-api / src / test / java / com / smartitengineering / exim / impl / data / TestResourceDomainField.java
blob9bd06a81809d203646d9b7165a33f1c2cb170195
1 /*
2 * This is a common dao with basic CRUD operations and is not limited to any
3 * persistent layer implementation
5 * Copyright (C) 2008 Imran M Yousuf (imyousuf@smartitengineering.com)
7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Lesser General Public
9 * License as published by the Free Software Foundation; either
10 * version 3 of the License, or (at your option) any later version.
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
15 * You should have received a copy of the GNU Lesser General Public
16 * License along with this library; if not, write to the Free Software
17 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
19 package com.smartitengineering.exim.impl.data;
21 import com.smartitengineering.domain.annotations.Export;
22 import com.smartitengineering.domain.annotations.Name;
23 import com.smartitengineering.domain.annotations.ResourceDomain;
24 import com.smartitengineering.domain.exim.DomainSelfImporter;
25 import com.smartitengineering.domain.exim.IdentityCustomizer;
26 import java.io.IOException;
27 import java.io.InputStream;
29 /**
31 * @author imyousuf
33 @ResourceDomain(accessByProperty=false)
34 @Name(value=TestResourceDomainField.NAME)
35 public class TestResourceDomainField implements IdentityCustomizer, DomainSelfImporter {
37 public static final String SOME_STR_PROP = "someStrProp";
38 public static final String SOME_TRANSIENT_STR_PROP = "someTransientStrProp";
39 public static final String NAME = "fieldDom";
41 private String someStrProp;
42 @Export(isTransient=true)
43 private String someTransientStrProp;
45 public String getIdAsString() {
46 throw new UnsupportedOperationException("Not supported yet.");
49 public String getUri() {
50 throw new UnsupportedOperationException("Not supported yet.");
53 public boolean isMIMESupported(String mimeType) {
54 throw new UnsupportedOperationException("Not supported yet.");
57 public void importObject(String mimeType,
58 InputStream inputStream)
59 throws IllegalArgumentException,
60 IOException {
61 throw new UnsupportedOperationException("Not supported yet.");