Class RowLink


  • public class RowLink
    extends java.lang.Object
    This object represents a relation between a source row and a destination row or rows.
    • Constructor Summary

      Constructors 
      Constructor Description
      RowLink​(Row aRow, Property aRelation, java.lang.Object aRemoteValue)
      Creates a new RowLink for a given row, a relation, a remote value and a remote row.
    • Constructor Detail

      • RowLink

        public RowLink​(Row aRow,
                       Property aRelation,
                       java.lang.Object aRemoteValue)
        Creates a new RowLink for a given row, a relation, a remote value and a remote row.
    • Method Detail

      • getRow

        public Row getRow()
        Returns the row.
      • getSite

        public WebSite getSite()
        Returns the data site.
      • getRelation

        public Property getRelation()
        Returns the relation.
      • isToOne

        public boolean isToOne()
        Returns whether relation is to-one.
      • isToMany

        public boolean isToMany()
        Returns whether relation is to-many.
      • getRemoteValue

        @Nullable
        public java.lang.Object getRemoteValue()
        Returns the remote value.
      • getRemoteValues

        @Nonnull
        public java.util.List getRemoteValues()
        Returns the remote values.
      • getRemoteValueOrValues

        @Nullable
        public java.lang.Object getRemoteValueOrValues()
        Returns the remote value or values.
      • isRemoteRowSet

        public boolean isRemoteRowSet()
        Returns whether RemoteRow or RemoteRows is set.
      • getRemoteRow

        @Nullable
        public Row getRemoteRow()
        Returns the remote row. Can return null if getRemoteRowImpl() returns null
      • getRemoteRows

        @Nonnull
        public java.util.List<Row> getRemoteRows()
        Returns the remote rows.
      • getRemoteRowOrRows

        @Nullable
        public java.lang.Object getRemoteRowOrRows()
        Returns the remote row or rows.
      • isResolved

        public boolean isResolved()
        Returns whether this RowLink can be resolved.
      • getUnresolvedRows

        @Nonnull
        public Row[] getUnresolvedRows()
        Returns any unresolved rows.
      • equals

        public boolean equals​(java.lang.Object anObj)
        Standard equals implementation.
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Standard hashcode implementation.
        Overrides:
        hashCode in class java.lang.Object