01: /**
02: * Licensed to the Apache Software Foundation (ASF) under one or more
03: * contributor license agreements. See the NOTICE file distributed with
04: * this work for additional information regarding copyright ownership.
05: * The ASF licenses this file to You under the Apache License, Version 2.0
06: * (the "License"); you may not use this file except in compliance with
07: * the License. You may obtain a copy of the License at
08: *
09: * http://www.apache.org/licenses/LICENSE-2.0
10: *
11: * Unless required by applicable law or agreed to in writing, software
12: * distributed under the License is distributed on an "AS IS" BASIS,
13: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14: * See the License for the specific language governing permissions and
15: * limitations under the License.
16: */package org.apache.openejb.jee.jpa;
17:
18: public interface Mapping {
19: String getDescription();
20:
21: void setDescription(String value);
22:
23: IdClass getIdClass();
24:
25: void setIdClass(IdClass value);
26:
27: boolean isExcludeDefaultListeners();
28:
29: void setExcludeDefaultListeners(boolean value);
30:
31: boolean isExcludeSuperclassListeners();
32:
33: void setExcludeSuperclassListeners(boolean value);
34:
35: EntityListeners getEntityListeners();
36:
37: void setEntityListeners(EntityListeners value);
38:
39: PrePersist getPrePersist();
40:
41: void setPrePersist(PrePersist value);
42:
43: PostPersist getPostPersist();
44:
45: void setPostPersist(PostPersist value);
46:
47: PreRemove getPreRemove();
48:
49: void setPreRemove(PreRemove value);
50:
51: PostRemove getPostRemove();
52:
53: void setPostRemove(PostRemove value);
54:
55: PreUpdate getPreUpdate();
56:
57: void setPreUpdate(PreUpdate value);
58:
59: PostUpdate getPostUpdate();
60:
61: void setPostUpdate(PostUpdate value);
62:
63: PostLoad getPostLoad();
64:
65: void setPostLoad(PostLoad value);
66:
67: Attributes getAttributes();
68:
69: void setAttributes(Attributes value);
70:
71: AccessType getAccess();
72:
73: void setAccess(AccessType value);
74:
75: String getClazz();
76:
77: void setClazz(String value);
78:
79: Boolean isMetadataComplete();
80:
81: void setMetadataComplete(Boolean value);
82:
83: void addField(Field field);
84: }
|