Package com.inductiveautomation.snap.web
Class RowLink
java.lang.Object
com.inductiveautomation.snap.web.RowLink
This object represents a relation between a source row and a destination row or rows.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Standard equals implementation.Returns the relation.Returns the remote row.Returns the remote row or rows.Returns the remote rows.Returns the remote value.Returns the remote value or values.Returns the remote values.getRow()
Returns the row.getSite()
Returns the data site.Row[]
Returns any unresolved rows.int
hashCode()
Standard hashcode implementation.boolean
Returns whether RemoteRow or RemoteRows is set.boolean
Returns whether this RowLink can be resolved.boolean
isToMany()
Returns whether relation is to-many.boolean
isToOne()
Returns whether relation is to-one.
-
Constructor Details
-
RowLink
Creates a new RowLink for a given row, a relation, a remote value and a remote row.
-
-
Method Details
-
getRow
Returns the row. -
getSite
Returns the data site. -
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
Returns the remote value. -
getRemoteValues
Returns the remote values. -
getRemoteValueOrValues
Returns the remote value or values. -
isRemoteRowSet
public boolean isRemoteRowSet()Returns whether RemoteRow or RemoteRows is set. -
getRemoteRow
Returns the remote row. Can return null if getRemoteRowImpl() returns null -
getRemoteRows
Returns the remote rows. -
getRemoteRowOrRows
Returns the remote row or rows. -
isResolved
public boolean isResolved()Returns whether this RowLink can be resolved. -
getUnresolvedRows
Returns any unresolved rows. -
equals
Standard equals implementation. -
hashCode
public int hashCode()Standard hashcode implementation.
-