01: // THIS SOFTWARE IS PROVIDED BY SOFTARIS PTY.LTD. AND OTHER METABOSS
02: // CONTRIBUTORS ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING,
03: // BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
04: // FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SOFTARIS PTY.LTD.
05: // OR OTHER METABOSS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
06: // INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
07: // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,
08: // OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
09: // LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
10: // NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
11: // EVEN IF SOFTARIS PTY.LTD. OR OTHER METABOSS CONTRIBUTORS ARE ADVISED OF THE
12: // POSSIBILITY OF SUCH DAMAGE.
13: //
14: // Copyright 2000-2005 © Softaris Pty.Ltd. All Rights Reserved.
15: package com.metaboss.sdlctools.services.metadatamanagement;
16:
17: import com.metaboss.enterprise.bs.BSException;
18:
19: /** This service offers a set of operations managing metadata for the
20: * implicit (automatically generated) elements of the domain metadata.
21: * The implicit elements are the elements, whose existence and definition fully
22: * dependent on and implied by the rest of the model, so there is no real need
23: * for the human to spend time entering these elements in the model. Implicit elements
24: * are quite useful and time saving, so their list will most definitely grow
25: * in future releases. At the moment the supported implicit elements are :
26: * <ul>
27: * <li>Entity Instance Id system data type definition</li>
28: * <li>Entity Instance Version Id system data type definition</li>
29: * <li>Entity Instance State system data type definition</li>
30: * <li>Entity Instance State related selectors</li>
31: * </ul>
32: * Using this service it is possible to analyse model and bring all implicit elements defintions
33: * uptodate by removing the not needed ones, inserting the newly needed ones and
34: * updating existing elements.
35: */
36: public interface BSDomainImplicitElementsManagement {
37: /** Naming URL of the component */
38: public static final String COMPONENT_URL = "component:/com.metaboss.sdlctools.services.metadatamanagement.BSDomainImplicitElementsManagement";
39:
40: /** Updates implicit elements metadata for all domains in the given system. */
41: public void updateMetadataForSystem(String pSystemRef)
42: throws BSException;
43:
44: /** Updates implicit elements metadata for given domain. */
45: public void updateMetadataForDomain(String pDomainRef)
46: throws BSException;
47: }
|