org.jaffa.tools.domainmeta.uniface
Class RelationshipInfoReader.Relationship

java.lang.Object
  extended byorg.jaffa.tools.domainmeta.uniface.RelationshipInfoReader.Relationship
All Implemented Interfaces:
Comparable
Enclosing class:
RelationshipInfoReader

public static class RelationshipInfoReader.Relationship
extends Object
implements Comparable

An instance of this class represents a relationship defined in the RelationshipInfo.xml file.


Constructor Summary
RelationshipInfoReader.Relationship()
          Default constructor.
RelationshipInfoReader.Relationship(String fromSchema, String toSchema, String fromTableName, String toTableName)
          Creates an instance of this class with the supplied initial parameters.
 
Method Summary
 int compareTo(Object obj)
          Compares this object with the specified object for order.
 String getFromCardinality()
          Getter for property fromCardinality.
 String getFromSchema()
          Getter for property fromSchema.
 String getFromTableName()
          Getter for property fromTableName.
 String getToCardinality()
          Getter for property toCardinality.
 String getToSchema()
          Getter for property toSchema.
 String getToTableName()
          Getter for property toTableName.
 String getType()
          Getter for property type.
 String toString()
          Returns diagnostic information.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RelationshipInfoReader.Relationship

public RelationshipInfoReader.Relationship()
Default constructor.


RelationshipInfoReader.Relationship

public RelationshipInfoReader.Relationship(String fromSchema,
                                           String toSchema,
                                           String fromTableName,
                                           String toTableName)
Creates an instance of this class with the supplied initial parameters.

Parameters:
fromSchema - the from schema.
toSchema - the to schema.
fromTableName - the from table name.
toTableName - the to table name.
Method Detail

getFromSchema

public String getFromSchema()
Getter for property fromSchema.

Returns:
Value of property fromSchema.

getToSchema

public String getToSchema()
Getter for property toSchema.

Returns:
Value of property toSchema.

getFromTableName

public String getFromTableName()
Getter for property fromTableName.

Returns:
Value of property fromTableName.

getToTableName

public String getToTableName()
Getter for property toTableName.

Returns:
Value of property toTableName.

getFromCardinality

public String getFromCardinality()
Getter for property fromCardinality.

Returns:
Value of property fromCardinality.

getToCardinality

public String getToCardinality()
Getter for property toCardinality.

Returns:
Value of property toCardinality.

getType

public String getType()
Getter for property type.

Returns:
Value of property type.

compareTo

public int compareTo(Object obj)
Compares this object with the specified object for order. Returns a negative integer, zero, or a positive integer as this object is less than, equal to, or greater than the specified object. Note: this class has a natural ordering that is inconsistent with equals.

Specified by:
compareTo in interface Comparable
Parameters:
obj - the Object to be compared.
Returns:
a negative integer, zero, or a positive integer as this object is less than, equal to, or greater than the specified object.

toString

public String toString()
Returns diagnostic information.

Returns:
a String containing diagnostic information.


Copyright © 2002-2004 JAFFA Project.