|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.crystaldecisions.sdk.occa.report.data.FieldLink
public class FieldLink
This object implements a link between two fields in a table join.
The tables may be in different databases. The from field in the source table and the
to field in the target table are used to specify one link in a TableJoin
.
When possible, use the IFieldLink
interface to manipulate this object.
TableJoin.setFieldLinks(FieldLinks)
Constructor Summary | |
---|---|
FieldLink()
Creates a new FieldLink . |
|
FieldLink(IFieldLink src)
Copies the given FieldLink object. |
Method Summary | |
---|---|
java.lang.Object |
clone(boolean deepClone)
|
void |
copyTo(java.lang.Object destObject,
boolean deepCopy)
|
java.lang.Object |
createMember(java.lang.String eleName,
org.xml.sax.Attributes attrs,
XMLSerializationContext ctxt,
java.util.Map objState,
boolean[] bLoaded)
For internal use only. |
void |
doControllerModification(java.lang.Object newObject)
For internal use only. |
void |
endElement(java.lang.String eleName,
java.util.Map objState)
For internal use only. |
void |
enumerateMembers(IMemberVisitor visitor)
For internal use only. |
ControllableMixin |
getControllableMixin()
For internal use only. |
IField |
getFromField()
Returns the from field of the link. |
FieldLinkOperator |
getLinkOperator()
Returns the manner in which the tables are joined. |
IField |
getToField()
Returns the to field of the link. |
boolean |
hasContent(java.lang.Object srcFieldLink)
|
boolean |
isDirectlyControllable()
For internal use only. |
void |
readElement(java.lang.String eleName,
java.lang.String sVal,
org.xml.sax.Attributes attrs,
java.util.Map objState)
For internal use only. |
void |
save(XMLWriter writer,
java.lang.String sTag,
XMLSerializationContext ctxt)
For internal use only. |
void |
save(XMLWriter writer,
XMLSerializationContext ctxt)
For internal use only. |
void |
saveContents(XMLWriter writer,
XMLSerializationContext ctxt)
For internal use only. |
void |
setFromField(IField fromField)
Sets the from field of the link. |
void |
setLinkOperator(FieldLinkOperator linkOperator)
Sets the manner in which the tables are joined. |
void |
setToField(IField toField)
Sets the to field of the link. |
void |
startElement(java.lang.String eleName,
java.util.Map objState,
org.xml.sax.Attributes attrs)
For internal use only. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FieldLink(IFieldLink src)
FieldLink
object.
This method creates a deep copy of the src
object.
src
- the IFieldLink
to copypublic FieldLink()
FieldLink
.
Method Detail |
---|
public java.lang.Object clone(boolean deepClone)
public void copyTo(java.lang.Object destObject, boolean deepCopy)
public java.lang.Object createMember(java.lang.String eleName, org.xml.sax.Attributes attrs, XMLSerializationContext ctxt, java.util.Map objState, boolean[] bLoaded)
public void endElement(java.lang.String eleName, java.util.Map objState)
public FieldLinkOperator getLinkOperator()
IFieldLink
getLinkOperator
in interface IFieldLink
TableJoinOperator
object that specifies the manner in which the
tables are joined.TableJoinOperator
public IField getFromField()
IFieldLink
getFromField
in interface IFieldLink
String
containing the from field of the link.public IField getToField()
IFieldLink
getToField
in interface IFieldLink
IField
containing the to field of the link.public boolean hasContent(java.lang.Object srcFieldLink)
public void readElement(java.lang.String eleName, java.lang.String sVal, org.xml.sax.Attributes attrs, java.util.Map objState)
public void save(XMLWriter writer, XMLSerializationContext ctxt) throws java.io.IOException
java.io.IOException
public void save(XMLWriter writer, java.lang.String sTag, XMLSerializationContext ctxt) throws java.io.IOException
java.io.IOException
public void saveContents(XMLWriter writer, XMLSerializationContext ctxt) throws java.io.IOException
java.io.IOException
public void setLinkOperator(FieldLinkOperator linkOperator)
IFieldLink
setLinkOperator
in interface IFieldLink
linkOperator
- A FieldLinkOperator
object that specifies the manner in
which the tables are joined.public void setFromField(IField fromField)
IFieldLink
setFromField
in interface IFieldLink
fromField
- A IField
containing the from field of the link.public void setToField(IField toField)
IFieldLink
setToField
in interface IFieldLink
toField
- A IField
containing the to field of the link.public void startElement(java.lang.String eleName, java.util.Map objState, org.xml.sax.Attributes attrs)
public ControllableMixin getControllableMixin()
public void doControllerModification(java.lang.Object newObject)
public boolean isDirectlyControllable()
public void enumerateMembers(IMemberVisitor visitor)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |