Package com.inductiveautomation.snap.web
Class RowLink
- java.lang.Object
 - 
- com.inductiveautomation.snap.web.RowLink
 
 
- 
public class RowLink extends java.lang.ObjectThis object represents a relation between a source row and a destination row or rows. 
- 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object anObj)Standard equals implementation.PropertygetRelation()Returns the relation.RowgetRemoteRow()Returns the remote row.java.lang.ObjectgetRemoteRowOrRows()Returns the remote row or rows.java.util.List<Row>getRemoteRows()Returns the remote rows.java.lang.ObjectgetRemoteValue()Returns the remote value.java.lang.ObjectgetRemoteValueOrValues()Returns the remote value or values.java.util.ListgetRemoteValues()Returns the remote values.RowgetRow()Returns the row.WebSitegetSite()Returns the data site.Row[]getUnresolvedRows()Returns any unresolved rows.inthashCode()Standard hashcode implementation.booleanisRemoteRowSet()Returns whether RemoteRow or RemoteRows is set.booleanisResolved()Returns whether this RowLink can be resolved.booleanisToMany()Returns whether relation is to-many.booleanisToOne()Returns whether relation is to-one. 
 - 
 
- 
- 
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:
 equalsin classjava.lang.Object
 
- 
hashCode
public int hashCode()
Standard hashcode implementation.- Overrides:
 hashCodein classjava.lang.Object
 
 - 
 
 -