@Generated(value="com.linkedin.pegasus.generator.JavaCodeUtil",
comments="Rest.li Data Template. Generated from restli-example-api/src/main/pegasus/com/linkedin/restli/example/Album.pdsc.")
public class Album
extends com.linkedin.data.template.RecordTemplate
| Modifier and Type | Class and Description |
|---|---|
static class |
Album.Fields |
| Constructor and Description |
|---|
Album() |
Album(com.linkedin.data.DataMap data) |
| Modifier and Type | Method and Description |
|---|---|
Album |
clone() |
Album |
copy() |
static Album.Fields |
fields() |
java.lang.Long |
getCreationTime()
Getter for creationTime
|
java.lang.Long |
getCreationTime(com.linkedin.data.template.GetMode mode)
Getter for creationTime
|
java.lang.Long |
getId()
Getter for id
|
java.lang.Long |
getId(com.linkedin.data.template.GetMode mode)
Getter for id
|
java.lang.String |
getTitle()
Getter for title
|
java.lang.String |
getTitle(com.linkedin.data.template.GetMode mode)
Getter for title
|
java.lang.String |
getUrn()
Getter for urn
|
java.lang.String |
getUrn(com.linkedin.data.template.GetMode mode)
Getter for urn
|
boolean |
hasCreationTime()
Existence checker for creationTime
|
boolean |
hasId()
Existence checker for id
|
boolean |
hasTitle()
Existence checker for title
|
boolean |
hasUrn()
Existence checker for urn
|
void |
removeCreationTime()
Remover for creationTime
|
void |
removeId()
Remover for id
|
void |
removeTitle()
Remover for title
|
void |
removeUrn()
Remover for urn
|
Album |
setCreationTime(long value)
Setter for creationTime
|
Album |
setCreationTime(java.lang.Long value)
Setter for creationTime
|
Album |
setCreationTime(java.lang.Long value,
com.linkedin.data.template.SetMode mode)
Setter for creationTime
|
Album |
setId(long value)
Setter for id
|
Album |
setId(java.lang.Long value)
Setter for id
|
Album |
setId(java.lang.Long value,
com.linkedin.data.template.SetMode mode)
Setter for id
|
Album |
setTitle(java.lang.String value)
Setter for title
|
Album |
setTitle(java.lang.String value,
com.linkedin.data.template.SetMode mode)
Setter for title
|
Album |
setUrn(java.lang.String value)
Setter for urn
|
Album |
setUrn(java.lang.String value,
com.linkedin.data.template.SetMode mode)
Setter for urn
|
public static Album.Fields fields()
public boolean hasId()
Album.Fields.id()public void removeId()
Album.Fields.id()public java.lang.Long getId(com.linkedin.data.template.GetMode mode)
Album.Fields.id()@Nonnull public java.lang.Long getId()
Album.Fields.id()public Album setId(java.lang.Long value, com.linkedin.data.template.SetMode mode)
Album.Fields.id()public Album setId(@Nonnull java.lang.Long value)
value - Must not be null. For more control, use setters with mode instead.Album.Fields.id()public Album setId(long value)
Album.Fields.id()public boolean hasUrn()
Album.Fields.urn()public void removeUrn()
Album.Fields.urn()public java.lang.String getUrn(com.linkedin.data.template.GetMode mode)
Album.Fields.urn()@Nonnull public java.lang.String getUrn()
Album.Fields.urn()public Album setUrn(java.lang.String value, com.linkedin.data.template.SetMode mode)
Album.Fields.urn()public Album setUrn(@Nonnull java.lang.String value)
value - Must not be null. For more control, use setters with mode instead.Album.Fields.urn()public boolean hasTitle()
Album.Fields.title()public void removeTitle()
Album.Fields.title()public java.lang.String getTitle(com.linkedin.data.template.GetMode mode)
Album.Fields.title()@Nonnull public java.lang.String getTitle()
Album.Fields.title()public Album setTitle(java.lang.String value, com.linkedin.data.template.SetMode mode)
Album.Fields.title()public Album setTitle(@Nonnull java.lang.String value)
value - Must not be null. For more control, use setters with mode instead.Album.Fields.title()public boolean hasCreationTime()
Album.Fields.creationTime()public void removeCreationTime()
Album.Fields.creationTime()public java.lang.Long getCreationTime(com.linkedin.data.template.GetMode mode)
Album.Fields.creationTime()@Nonnull public java.lang.Long getCreationTime()
Album.Fields.creationTime()public Album setCreationTime(java.lang.Long value, com.linkedin.data.template.SetMode mode)
Album.Fields.creationTime()public Album setCreationTime(@Nonnull java.lang.Long value)
value - Must not be null. For more control, use setters with mode instead.Album.Fields.creationTime()public Album setCreationTime(long value)
Album.Fields.creationTime()public Album clone() throws java.lang.CloneNotSupportedException
clone in interface com.linkedin.data.template.DataTemplate<com.linkedin.data.DataMap>clone in class com.linkedin.data.template.RecordTemplatejava.lang.CloneNotSupportedExceptionpublic Album copy() throws java.lang.CloneNotSupportedException
copy in interface com.linkedin.data.template.DataTemplate<com.linkedin.data.DataMap>copy in class com.linkedin.data.template.RecordTemplatejava.lang.CloneNotSupportedException