com.linkedin.restli.restspec
Class Deprecatable

java.lang.Object
  extended by com.linkedin.data.template.RecordTemplate
      extended by com.linkedin.restli.restspec.Deprecatable
All Implemented Interfaces:
com.linkedin.data.template.DataTemplate<com.linkedin.data.DataMap>, java.lang.Cloneable

@Generated(value="com.linkedin.pegasus.generator.PegasusDataTemplateGenerator",
           comments="LinkedIn Data Template. Generated from /Users/jbetz/projects/pegasus_trunk/pegasus/restli-common/src/main/pegasus/com/linkedin/restli/restspec/Deprecatable.pdsc.",
           date="Thu Oct 24 11:03:12 PDT 2013")
public class Deprecatable
extends com.linkedin.data.template.RecordTemplate


Nested Class Summary
static class Deprecatable.Fields
           
 
Constructor Summary
Deprecatable()
           
Deprecatable(com.linkedin.data.DataMap data)
           
 
Method Summary
 Deprecatable clone()
           
 Deprecatable copy()
           
static Deprecatable.Fields fields()
           
 java.lang.String getDeprecatedDoc()
          Getter for deprecatedDoc
 java.lang.String getDeprecatedDoc(com.linkedin.data.template.GetMode mode)
          Getter for deprecatedDoc
 boolean hasDeprecated()
          Existence checker for deprecated
 boolean hasDeprecatedDoc()
          Existence checker for deprecatedDoc
 java.lang.Boolean isDeprecated()
          Getter for deprecated
 java.lang.Boolean isDeprecated(com.linkedin.data.template.GetMode mode)
          Getter for deprecated
 void removeDeprecated()
          Remover for deprecated
 void removeDeprecatedDoc()
          Remover for deprecatedDoc
 Deprecatable setDeprecated(boolean value)
          Setter for deprecated
 Deprecatable setDeprecated(java.lang.Boolean value)
          Setter for deprecated
 Deprecatable setDeprecated(java.lang.Boolean value, com.linkedin.data.template.SetMode mode)
          Setter for deprecated
 Deprecatable setDeprecatedDoc(java.lang.String value)
          Setter for deprecatedDoc
 Deprecatable setDeprecatedDoc(java.lang.String value, com.linkedin.data.template.SetMode mode)
          Setter for deprecatedDoc
 
Methods inherited from class com.linkedin.data.template.RecordTemplate
contains, data, equals, hashCode, obtainDirect, obtainWrapped, putDirect, putDirect, putDirect, putWrapped, putWrapped, remove, schema, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Deprecatable

public Deprecatable()

Deprecatable

public Deprecatable(com.linkedin.data.DataMap data)
Method Detail

fields

public static Deprecatable.Fields fields()

hasDeprecated

public boolean hasDeprecated()
Existence checker for deprecated

See Also:
Deprecatable.Fields.deprecated()

removeDeprecated

public void removeDeprecated()
Remover for deprecated

See Also:
Deprecatable.Fields.deprecated()

isDeprecated

public java.lang.Boolean isDeprecated(com.linkedin.data.template.GetMode mode)
Getter for deprecated

See Also:
Deprecatable.Fields.deprecated()

isDeprecated

public java.lang.Boolean isDeprecated()
Getter for deprecated

See Also:
Deprecatable.Fields.deprecated()

setDeprecated

public Deprecatable setDeprecated(java.lang.Boolean value,
                                  com.linkedin.data.template.SetMode mode)
Setter for deprecated

See Also:
Deprecatable.Fields.deprecated()

setDeprecated

public Deprecatable setDeprecated(java.lang.Boolean value)
Setter for deprecated

See Also:
Deprecatable.Fields.deprecated()

setDeprecated

public Deprecatable setDeprecated(boolean value)
Setter for deprecated

See Also:
Deprecatable.Fields.deprecated()

hasDeprecatedDoc

public boolean hasDeprecatedDoc()
Existence checker for deprecatedDoc

See Also:
Deprecatable.Fields.deprecatedDoc()

removeDeprecatedDoc

public void removeDeprecatedDoc()
Remover for deprecatedDoc

See Also:
Deprecatable.Fields.deprecatedDoc()

getDeprecatedDoc

public java.lang.String getDeprecatedDoc(com.linkedin.data.template.GetMode mode)
Getter for deprecatedDoc

See Also:
Deprecatable.Fields.deprecatedDoc()

getDeprecatedDoc

public java.lang.String getDeprecatedDoc()
Getter for deprecatedDoc

See Also:
Deprecatable.Fields.deprecatedDoc()

setDeprecatedDoc

public Deprecatable setDeprecatedDoc(java.lang.String value,
                                     com.linkedin.data.template.SetMode mode)
Setter for deprecatedDoc

See Also:
Deprecatable.Fields.deprecatedDoc()

setDeprecatedDoc

public Deprecatable setDeprecatedDoc(java.lang.String value)
Setter for deprecatedDoc

See Also:
Deprecatable.Fields.deprecatedDoc()

clone

public Deprecatable clone()
                   throws java.lang.CloneNotSupportedException
Specified by:
clone in interface com.linkedin.data.template.DataTemplate<com.linkedin.data.DataMap>
Overrides:
clone in class com.linkedin.data.template.RecordTemplate
Throws:
java.lang.CloneNotSupportedException

copy

public Deprecatable copy()
                  throws java.lang.CloneNotSupportedException
Specified by:
copy in interface com.linkedin.data.template.DataTemplate<com.linkedin.data.DataMap>
Overrides:
copy in class com.linkedin.data.template.RecordTemplate
Throws:
java.lang.CloneNotSupportedException