com.linkedin.restli.restspec
Class RestMethodSchema

java.lang.Object
  extended by com.linkedin.data.template.RecordTemplate
      extended by com.linkedin.restli.restspec.RestMethodSchema
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/RestMethodSchema.pdsc.",
           date="Thu Oct 24 11:16:23 PDT 2013")
public class RestMethodSchema
extends com.linkedin.data.template.RecordTemplate


Nested Class Summary
static class RestMethodSchema.Fields
           
 
Constructor Summary
RestMethodSchema()
           
RestMethodSchema(com.linkedin.data.DataMap data)
           
 
Method Summary
 RestMethodSchema clone()
           
 RestMethodSchema copy()
           
static RestMethodSchema.Fields fields()
           
 CustomAnnotationContentSchemaMap getAnnotations()
          Getter for annotations
 CustomAnnotationContentSchemaMap getAnnotations(com.linkedin.data.template.GetMode mode)
          Getter for annotations
 java.lang.String getDoc()
          Getter for doc
 java.lang.String getDoc(com.linkedin.data.template.GetMode mode)
          Getter for doc
 java.lang.String getMethod()
          Getter for method
 java.lang.String getMethod(com.linkedin.data.template.GetMode mode)
          Getter for method
 ParameterSchemaArray getParameters()
          Getter for parameters
 ParameterSchemaArray getParameters(com.linkedin.data.template.GetMode mode)
          Getter for parameters
 boolean hasAnnotations()
          Existence checker for annotations
 boolean hasDoc()
          Existence checker for doc
 boolean hasMethod()
          Existence checker for method
 boolean hasParameters()
          Existence checker for parameters
 void removeAnnotations()
          Remover for annotations
 void removeDoc()
          Remover for doc
 void removeMethod()
          Remover for method
 void removeParameters()
          Remover for parameters
 RestMethodSchema setAnnotations(CustomAnnotationContentSchemaMap value)
          Setter for annotations
 RestMethodSchema setAnnotations(CustomAnnotationContentSchemaMap value, com.linkedin.data.template.SetMode mode)
          Setter for annotations
 RestMethodSchema setDoc(java.lang.String value)
          Setter for doc
 RestMethodSchema setDoc(java.lang.String value, com.linkedin.data.template.SetMode mode)
          Setter for doc
 RestMethodSchema setMethod(java.lang.String value)
          Setter for method
 RestMethodSchema setMethod(java.lang.String value, com.linkedin.data.template.SetMode mode)
          Setter for method
 RestMethodSchema setParameters(ParameterSchemaArray value)
          Setter for parameters
 RestMethodSchema setParameters(ParameterSchemaArray value, com.linkedin.data.template.SetMode mode)
          Setter for parameters
 
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

RestMethodSchema

public RestMethodSchema()

RestMethodSchema

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

fields

public static RestMethodSchema.Fields fields()

hasAnnotations

public boolean hasAnnotations()
Existence checker for annotations

See Also:
RestMethodSchema.Fields.annotations()

removeAnnotations

public void removeAnnotations()
Remover for annotations

See Also:
RestMethodSchema.Fields.annotations()

getAnnotations

public CustomAnnotationContentSchemaMap getAnnotations(com.linkedin.data.template.GetMode mode)
Getter for annotations

See Also:
RestMethodSchema.Fields.annotations()

getAnnotations

public CustomAnnotationContentSchemaMap getAnnotations()
Getter for annotations

See Also:
RestMethodSchema.Fields.annotations()

setAnnotations

public RestMethodSchema setAnnotations(CustomAnnotationContentSchemaMap value,
                                       com.linkedin.data.template.SetMode mode)
Setter for annotations

See Also:
RestMethodSchema.Fields.annotations()

setAnnotations

public RestMethodSchema setAnnotations(CustomAnnotationContentSchemaMap value)
Setter for annotations

See Also:
RestMethodSchema.Fields.annotations()

hasMethod

public boolean hasMethod()
Existence checker for method

See Also:
RestMethodSchema.Fields.method()

removeMethod

public void removeMethod()
Remover for method

See Also:
RestMethodSchema.Fields.method()

getMethod

public java.lang.String getMethod(com.linkedin.data.template.GetMode mode)
Getter for method

See Also:
RestMethodSchema.Fields.method()

getMethod

public java.lang.String getMethod()
Getter for method

See Also:
RestMethodSchema.Fields.method()

setMethod

public RestMethodSchema setMethod(java.lang.String value,
                                  com.linkedin.data.template.SetMode mode)
Setter for method

See Also:
RestMethodSchema.Fields.method()

setMethod

public RestMethodSchema setMethod(java.lang.String value)
Setter for method

See Also:
RestMethodSchema.Fields.method()

hasDoc

public boolean hasDoc()
Existence checker for doc

See Also:
RestMethodSchema.Fields.doc()

removeDoc

public void removeDoc()
Remover for doc

See Also:
RestMethodSchema.Fields.doc()

getDoc

public java.lang.String getDoc(com.linkedin.data.template.GetMode mode)
Getter for doc

See Also:
RestMethodSchema.Fields.doc()

getDoc

public java.lang.String getDoc()
Getter for doc

See Also:
RestMethodSchema.Fields.doc()

setDoc

public RestMethodSchema setDoc(java.lang.String value,
                               com.linkedin.data.template.SetMode mode)
Setter for doc

See Also:
RestMethodSchema.Fields.doc()

setDoc

public RestMethodSchema setDoc(java.lang.String value)
Setter for doc

See Also:
RestMethodSchema.Fields.doc()

hasParameters

public boolean hasParameters()
Existence checker for parameters

See Also:
RestMethodSchema.Fields.parameters()

removeParameters

public void removeParameters()
Remover for parameters

See Also:
RestMethodSchema.Fields.parameters()

getParameters

public ParameterSchemaArray getParameters(com.linkedin.data.template.GetMode mode)
Getter for parameters

See Also:
RestMethodSchema.Fields.parameters()

getParameters

public ParameterSchemaArray getParameters()
Getter for parameters

See Also:
RestMethodSchema.Fields.parameters()

setParameters

public RestMethodSchema setParameters(ParameterSchemaArray value,
                                      com.linkedin.data.template.SetMode mode)
Setter for parameters

See Also:
RestMethodSchema.Fields.parameters()

setParameters

public RestMethodSchema setParameters(ParameterSchemaArray value)
Setter for parameters

See Also:
RestMethodSchema.Fields.parameters()

clone

public RestMethodSchema 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 RestMethodSchema 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