01: /*
02: * $Id: Tribe.java,v 1.9 2002/09/16 08:05:06 jkl Exp $
03: *
04: * Copyright (c) 2002 Njet Communications Ltd. All Rights Reserved.
05: *
06: * Use is subject to license terms, as defined in
07: * Anvil Sofware License, Version 1.1. See LICENSE
08: * file, or http://njet.org/license-1.1.txt
09: */
10: package anvil.server;
11:
12: import java.security.PermissionCollection;
13: import java.security.Permission;
14: import anvil.java.util.BindingEnumeration;
15: import anvil.core.Any;
16: import anvil.script.Namespace;
17:
18: /**
19: * interface Tribe
20: *
21: * @author: Jani Lehtimäki
22: */
23:
24: public interface Tribe extends Entity {
25:
26: public boolean hasChilds();
27:
28: public Tribe[] getChilds();
29:
30: public Citizen[] getCitizens();
31:
32: public void attach(Tribe tribe) throws OperationFailedException;
33:
34: public void attach(Citizen tribe) throws OperationFailedException;
35:
36: public void detach(Tribe tribe) throws OperationFailedException;
37:
38: public void detach(Citizen tribe) throws OperationFailedException;
39:
40: public void remove() throws OperationFailedException;
41:
42: }
|