com.remedy.arsys.api
Class JoinSchemaInfo
java.lang.Object
|
+--com.remedy.arsys.api.CompoundSchemaInfo
|
+--com.remedy.arsys.api.JoinSchemaInfo
- All Implemented Interfaces:
- java.lang.Cloneable
- public class JoinSchemaInfo
- extends CompoundSchemaInfo
The JoinSchema class represents a type of "compound schema"
consisting of a join between two or more AR System schemas.
It contains the names of the two member schemas (either of
which could also be join schemas), the criteria for joining them, and a
bitmask indicating various join options.
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
JoinSchemaInfo
public JoinSchemaInfo(NameID schemaA,
NameID schemaB,
QualifierInfo qualification,
int joinOption)
- Constructs a
JoinSchema object.
- Parameters:
schemaA - The name of a member schema participating in the join (can also be a join schema by itself)schemaB - The name of a member schema participating in the join (can also be a join schema by itself)qualification - The criteria for joining the two schemasjoinOption - The join option. Values can be as follows:
- 0: Inner Join
- 1: Outer Join
clone
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
- Clone implementation that returns an Object with data cloned from self.
- Overrides:
clone in class CompoundSchemaInfo
getMemberA
public NameID getMemberA()
- Returns name of member schema A.
getMemberB
public NameID getMemberB()
- Returns name of member schema B.
getJoinQualification
public QualifierInfo getJoinQualification()
- Returns criteria for joining schemas.
getJoinOption
public int getJoinOption()
- Returns the join type and the action to take
when users modify entries. The following constants are used:
- Parameters:
AR_JOIN_OPTION_NONE - Constants.AR_JOIN_OPTION_NONE
Inner joinAR_JOIN_OPTION_OUTER - Constants.AR_JOIN_OPTION_OUTER
Outer joinAR_JOIN_SETOPTION_NONE - Constants.AR_JOIN_SETOPTION_NONE
Allow users to update fields used in the join criteria.AR_JOIN_SETOPTION_REF - Constants.AR_JOIN_SETOPTION_REF
Do not allow users to update fields used in the join criteria