@ParametersAreNonnullByDefault public interface SoyRecord extends SoyValue
Important: Until this API is more stable and this note is removed, users must not define classes that implement this interface.
| Modifier and Type | Method and Description |
|---|---|
SoyValue |
getField(String name)
Gets a field value of this SoyRecord.
|
SoyValueProvider |
getFieldProvider(String name)
Gets a provider of a field value of this SoyRecord.
|
boolean |
hasField(String name)
Checks whether this SoyRecord has a field of the given name.
|
booleanValue, coerceToBoolean, coerceToString, equals, floatValue, integerValue, longValue, numberValue, render, render, stringValuerenderAndResolve, resolve, statusboolean hasField(String name)
name - The field name to check.SoyValue getField(String name)
name - The field name to get.SoyValueProvider getFieldProvider(String name)
name - The field name to get.