01: /*
02: * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright notice. All rights reserved.
03: */
04: package com.tc.object.field;
05:
06: import com.tc.object.TCClass;
07:
08: /**
09: * Terracotta managed information attached to a field
10: * @author orion
11: */
12: public interface TCField {
13: /**
14: * Returns the TCClass which declared this field.
15: * @return The declaring class
16: */
17: public TCClass getDeclaringTCClass();
18:
19: /**
20: * @return True if field is final
21: */
22: public boolean isFinal();
23:
24: /**
25: * @return True if field is portable
26: */
27: public boolean isPortable();
28:
29: /**
30: * @return True if field is array
31: */
32: public boolean isArray();
33:
34: /**
35: * @return True if field is reference to another object
36: */
37: public boolean canBeReference();
38:
39: /**
40: * @return Field name
41: */
42: public String getName();
43: }
|