|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.introspection.ClassInfo
wt.introspection.LinkInfo
LinkInfo is the class for providing class meta-data
There will be an instance of this class for each modeled
link business class that is installed.
Supported API: true
Extendable: false
WTIntrospector
,
ClassInfo
,
RoleDescriptor
,
Serialized FormField Summary | |
private String[] |
aliasesRoleA
|
private String[] |
aliasesRoleB
|
private boolean |
attributed
|
static byte |
DERIVED
Supported API: false |
private boolean |
duplicatesAllowed
|
static long |
externalizationVersionUID
Version identifier for managing compatibility and evolution of externalizable classes. |
static byte |
FOREIGN_KEY
Supported API: false |
static byte |
LINK_TABLE
Supported API: false |
private String |
referenceName
|
private String |
referenceType
|
private static String |
RESOURCE
|
private RoleDescriptor |
roleA
|
private RoleDescriptor |
roleB
|
(package private) static long |
serialVersionUID
|
private byte |
storageType
|
Fields inherited from class wt.introspection.ClassInfo |
DEBUG, DISPLAY_NAME, SHORT_DESCRIPTION |
Constructor Summary | |
LinkInfo()
Constructor. |
|
LinkInfo(String[] theInterfaces,
String aParentName,
String aClassname,
String aConcreteClassname,
DatabaseInfo database_info,
boolean persistentFlag,
AttributeDescriptor[] attrs,
boolean dups,
boolean is_attributed,
byte storage_type,
String reference_name,
String reference_type,
RoleDescriptor role_A,
RoleDescriptor role_B,
String standard_icon,
String open_icon,
boolean has_displayName,
String[] aliases_role_A,
String[] aliases_role_B,
DatastoreElementType datastore_elem_type,
boolean isRemoveEventParticipant,
HashMap extended_values)
Constructor. |
Method Summary | |
(package private) String[] |
getAliasesRoleA()
|
(package private) String[] |
getAliasesRoleB()
|
boolean |
getDuplicatesAllowed()
Determines whether duplicates are allowed. |
RoleDescriptor |
getOtherRole(RoleDescriptor otherRole)
Gets the other RoleDescriptor, relative to the one passed. |
String |
getReferenceName()
Gets the referenceName, from the point of view of the other side class, if there is a reference. |
(package private) String |
getReferenceType()
Gets the referenceType, from the point of view of the other side class, if there is a reference. |
RoleDescriptor |
getRole(String role_name)
Gets the RoleDescriptor by role name. |
RoleDescriptor |
getRoleA()
Gets the roleA RoleDescriptor. |
RoleDescriptor |
getRoleB()
Gets the roleB RoleDescriptor. |
boolean |
isAttributed()
Determines if the link is attributed. |
boolean |
isDerived()
Determines if the implementation of the link is derived. |
private static boolean |
isFound(String roleName,
String[] collection)
|
boolean |
isLinkTable()
Determines if the implementation of the link is with a link table. |
boolean |
isRoleA(String roleName)
Determines if the string is a roleA name. |
boolean |
isRoleB(String roleName)
Determines if the string is a roleB name. |
void |
readExternal(ObjectInput input)
Reads the non-transient fields of this class from an external source. |
(package private) void |
setAbsoluteDir(String absolute_dir)
|
void |
writeExternal(ObjectOutput output)
Writes the non-transient fields of this class to an external source. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final long externalizationVersionUID
static final long serialVersionUID
private static final String RESOURCE
public static final byte LINK_TABLE
public static final byte DERIVED
public static final byte FOREIGN_KEY
private RoleDescriptor roleA
private RoleDescriptor roleB
private boolean duplicatesAllowed
private boolean attributed
private byte storageType
private String referenceName
private String referenceType
private String[] aliasesRoleA
private String[] aliasesRoleB
Constructor Detail |
public LinkInfo()
public LinkInfo(String[] theInterfaces, String aParentName, String aClassname, String aConcreteClassname, DatabaseInfo database_info, boolean persistentFlag, AttributeDescriptor[] attrs, boolean dups, boolean is_attributed, byte storage_type, String reference_name, String reference_type, RoleDescriptor role_A, RoleDescriptor role_B, String standard_icon, String open_icon, boolean has_displayName, String[] aliases_role_A, String[] aliases_role_B, DatastoreElementType datastore_elem_type, boolean isRemoveEventParticipant, HashMap extended_values) throws ClassNotFoundException
Method Detail |
String[] getAliasesRoleA()
String[] getAliasesRoleB()
public boolean getDuplicatesAllowed()
public RoleDescriptor getOtherRole(RoleDescriptor otherRole)
public String getReferenceName()
String getReferenceType()
public RoleDescriptor getRole(String role_name)
public RoleDescriptor getRoleA()
public RoleDescriptor getRoleB()
public boolean isAttributed()
public boolean isDerived()
private static boolean isFound(String roleName, String[] collection)
public boolean isLinkTable()
public boolean isRoleA(String roleName)
public boolean isRoleB(String roleName)
public void readExternal(ObjectInput input) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
readExternal
in class ClassInfo
input
- is an input stream
IOException
ClassNotFoundException
public void writeExternal(ObjectOutput output) throws IOException
writeExternal
in interface Externalizable
writeExternal
in class ClassInfo
output
- is an output stream
IOException
void setAbsoluteDir(String absolute_dir)
setAbsoluteDir
in class ClassInfo
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |