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 TypeMethodDescriptionbooleanStandard equals implementation.Returns the relation.@Nullable RowReturns the remote row.@Nullable ObjectReturns the remote row or rows.Returns the remote rows.@Nullable ObjectReturns the remote value.@Nullable ObjectReturns the remote value or values.@NonNull ListReturns the remote values.getRow()Returns the row.getSite()Returns the data site.@NonNull Row[]Returns any unresolved rows.inthashCode()Standard hashcode implementation.booleanReturns whether RemoteRow or RemoteRows is set.booleanReturns whether this RowLink can be resolved.booleanisToMany()Returns whether relation is to-many.booleanisToOne()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.
-