Package com.inductiveautomation.snap.web
Class RowLink
- java.lang.Object
-
- com.inductiveautomation.snap.web.RowLink
-
public class RowLink extends java.lang.Object
This 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 boolean
equals(java.lang.Object anObj)
Standard equals implementation.Property
getRelation()
Returns the relation.Row
getRemoteRow()
Returns the remote row.java.lang.Object
getRemoteRowOrRows()
Returns the remote row or rows.java.util.List<Row>
getRemoteRows()
Returns the remote rows.java.lang.Object
getRemoteValue()
Returns the remote value.java.lang.Object
getRemoteValueOrValues()
Returns the remote value or values.java.util.List
getRemoteValues()
Returns the remote values.Row
getRow()
Returns the row.WebSite
getSite()
Returns the data site.Row[]
getUnresolvedRows()
Returns any unresolved rows.int
hashCode()
Standard hashcode implementation.boolean
isRemoteRowSet()
Returns whether RemoteRow or RemoteRows is set.boolean
isResolved()
Returns whether this RowLink can be resolved.boolean
isToMany()
Returns whether relation is to-many.boolean
isToOne()
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:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
Standard hashcode implementation.- Overrides:
hashCode
in classjava.lang.Object
-
-