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 SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbooleanStandard 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.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- 
RowLinkCreates a new RowLink for a given row, a relation, a remote value and a remote row.
 
- 
- 
Method Details- 
getRowReturns the row.
- 
getSiteReturns the data site.
- 
getRelationReturns the relation.
- 
isToOnepublic boolean isToOne()Returns whether relation is to-one.
- 
isToManypublic boolean isToMany()Returns whether relation is to-many.
- 
getRemoteValueReturns the remote value.
- 
getRemoteValuesReturns the remote values.
- 
getRemoteValueOrValuesReturns the remote value or values.
- 
isRemoteRowSetpublic boolean isRemoteRowSet()Returns whether RemoteRow or RemoteRows is set.
- 
getRemoteRowReturns the remote row. Can return null if getRemoteRowImpl() returns null
- 
getRemoteRowsReturns the remote rows.
- 
getRemoteRowOrRowsReturns the remote row or rows.
- 
isResolvedpublic boolean isResolved()Returns whether this RowLink can be resolved.
- 
getUnresolvedRowsReturns any unresolved rows.
- 
equalsStandard equals implementation.
- 
hashCodepublic int hashCode()Standard hashcode implementation.
 
-