7.0 Action Request System Java API

com.remedy.arsys.api
Class JoinSchemaInfo

java.lang.Object
  extended bycom.remedy.arsys.api.CompoundSchemaInfo
      extended bycom.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.


Field Summary
 
Fields inherited from class com.remedy.arsys.api.CompoundSchemaInfo
m_type
 
Constructor Summary
JoinSchemaInfo(NameID schemaA, NameID schemaB, QualifierInfo qualification, int joinOption)
          Constructs a JoinSchema object.
 
Method Summary
 java.lang.Object clone()
          Clone implementation that returns an Object with data cloned from self.
 int getJoinOption()
          Returns the join type and the action to take when users modify entries.
 QualifierInfo getJoinQualification()
          Returns criteria for joining schemas.
 NameID getMemberA()
          Returns name of member schema A.
 NameID getMemberB()
          Returns name of member schema B.
 
Methods inherited from class com.remedy.arsys.api.CompoundSchemaInfo
equals, getType, hashCode
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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 schemas
joinOption - The join option. Values can be as follows:
Method Detail

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
Throws:
java.lang.CloneNotSupportedException

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:


7.0 Action Request System Java API