[New] added a new StrolchRootElement interface for Resource and Order
This commit is contained in:
parent
205c4b967d
commit
7147bc1570
|
@ -33,10 +33,9 @@ import ch.eitchnet.utils.iso8601.ISO8601FormatFactory;
|
||||||
* In this sense, orders do not need to be verified, so all verifier chracteristics are disabled and the
|
* In this sense, orders do not need to be verified, so all verifier chracteristics are disabled and the
|
||||||
* getVerifier()-method will return the null reference
|
* getVerifier()-method will return the null reference
|
||||||
*
|
*
|
||||||
* @author eitch
|
* @author Robert von Burg <eitch@eitchnet.ch>
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
public class Order extends GroupedParameterizedElement {
|
public class Order extends GroupedParameterizedElement implements StrolchRootElement {
|
||||||
|
|
||||||
private static final long serialVersionUID = 0L;
|
private static final long serialVersionUID = 0L;
|
||||||
|
|
||||||
|
|
|
@ -23,7 +23,7 @@ import org.w3c.dom.Element;
|
||||||
/**
|
/**
|
||||||
* @author Robert von Burg <eitch@eitchnet.ch>
|
* @author Robert von Burg <eitch@eitchnet.ch>
|
||||||
*/
|
*/
|
||||||
public class Resource extends GroupedParameterizedElement {
|
public class Resource extends GroupedParameterizedElement implements StrolchRootElement {
|
||||||
|
|
||||||
private static final long serialVersionUID = 0L;
|
private static final long serialVersionUID = 0L;
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,27 @@
|
||||||
|
/*
|
||||||
|
* Copyright 2013 Robert von Burg <eitch@eitchnet.ch>
|
||||||
|
*
|
||||||
|
* 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 li.strolch.model;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Root element for all top level {@link StrolchElement}. These are elements which have no parent, e.g. {@link Resource
|
||||||
|
* Resources} and {@link Order Orders}
|
||||||
|
*
|
||||||
|
* @author Robert von Burg <eitch@eitchnet.ch>
|
||||||
|
*/
|
||||||
|
public interface StrolchRootElement extends StrolchElement {
|
||||||
|
|
||||||
|
// marker interface
|
||||||
|
}
|
Loading…
Reference in New Issue