diff options
author | Thomas Lenz <tlenz@iaik.tugraz.at> | 2013-06-07 11:50:13 +0200 |
---|---|---|
committer | Thomas Lenz <tlenz@iaik.tugraz.at> | 2013-06-07 11:50:13 +0200 |
commit | 1c0d27a1d5da91019ed2f51d4184282ea7ffe4f0 (patch) | |
tree | 305292fcf059560379307278edd0e99471ef2ae0 /common/src/main/java/at/gv/egovernment/moa/util/Empty.java | |
parent | 261294df86c33105eb2113808fc6f171e9250ac7 (diff) | |
download | moa-id-spss-1c0d27a1d5da91019ed2f51d4184282ea7ffe4f0.tar.gz moa-id-spss-1c0d27a1d5da91019ed2f51d4184282ea7ffe4f0.tar.bz2 moa-id-spss-1c0d27a1d5da91019ed2f51d4184282ea7ffe4f0.zip |
Common classes for Hibernate initializing and database handling
Diffstat (limited to 'common/src/main/java/at/gv/egovernment/moa/util/Empty.java')
-rw-r--r-- | common/src/main/java/at/gv/egovernment/moa/util/Empty.java | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/common/src/main/java/at/gv/egovernment/moa/util/Empty.java b/common/src/main/java/at/gv/egovernment/moa/util/Empty.java new file mode 100644 index 000000000..533b39b6b --- /dev/null +++ b/common/src/main/java/at/gv/egovernment/moa/util/Empty.java @@ -0,0 +1,31 @@ +/* + * Copyright 2011 Federal Chancellery Austria and + * Graz University of Technology + * + * 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. + */ +package at.gv.egovernment.moa.util; + +/** + * @author <a href="mailto:thomas.knall@iaik.tugraz.at">Thomas Knall</a> + */ +public interface Empty { + + /** + * Returns {@code true} if underlying object is empty. + * + * @return {@code true} if empty, {@code false} if not empty. + */ + boolean isEmpty(); + +} |