com.linkedin.restli.restspec
Class SimpleSchema

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


Nested Class Summary
static class SimpleSchema.Fields
           
 
Constructor Summary
SimpleSchema()
           
SimpleSchema(com.linkedin.data.DataMap data)
           
 
Method Summary
 SimpleSchema clone()
           
 SimpleSchema copy()
           
static SimpleSchema.Fields fields()
           
 ActionSchemaArray getActions()
          Getter for actions
 ActionSchemaArray getActions(com.linkedin.data.template.GetMode mode)
          Getter for actions
 EntitySchema getEntity()
          Getter for entity
 EntitySchema getEntity(com.linkedin.data.template.GetMode mode)
          Getter for entity
 RestMethodSchemaArray getMethods()
          Getter for methods
 RestMethodSchemaArray getMethods(com.linkedin.data.template.GetMode mode)
          Getter for methods
 com.linkedin.data.template.StringArray getSupports()
          Getter for supports
 com.linkedin.data.template.StringArray getSupports(com.linkedin.data.template.GetMode mode)
          Getter for supports
 boolean hasActions()
          Existence checker for actions
 boolean hasEntity()
          Existence checker for entity
 boolean hasMethods()
          Existence checker for methods
 boolean hasSupports()
          Existence checker for supports
 void removeActions()
          Remover for actions
 void removeEntity()
          Remover for entity
 void removeMethods()
          Remover for methods
 void removeSupports()
          Remover for supports
 SimpleSchema setActions(ActionSchemaArray value)
          Setter for actions
 SimpleSchema setActions(ActionSchemaArray value, com.linkedin.data.template.SetMode mode)
          Setter for actions
 SimpleSchema setEntity(EntitySchema value)
          Setter for entity
 SimpleSchema setEntity(EntitySchema value, com.linkedin.data.template.SetMode mode)
          Setter for entity
 SimpleSchema setMethods(RestMethodSchemaArray value)
          Setter for methods
 SimpleSchema setMethods(RestMethodSchemaArray value, com.linkedin.data.template.SetMode mode)
          Setter for methods
 SimpleSchema setSupports(com.linkedin.data.template.StringArray value)
          Setter for supports
 SimpleSchema setSupports(com.linkedin.data.template.StringArray value, com.linkedin.data.template.SetMode mode)
          Setter for supports
 
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

SimpleSchema

public SimpleSchema()

SimpleSchema

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

fields

public static SimpleSchema.Fields fields()

hasSupports

public boolean hasSupports()
Existence checker for supports

See Also:
SimpleSchema.Fields.supports()

removeSupports

public void removeSupports()
Remover for supports

See Also:
SimpleSchema.Fields.supports()

getSupports

public com.linkedin.data.template.StringArray getSupports(com.linkedin.data.template.GetMode mode)
Getter for supports

See Also:
SimpleSchema.Fields.supports()

getSupports

public com.linkedin.data.template.StringArray getSupports()
Getter for supports

See Also:
SimpleSchema.Fields.supports()

setSupports

public SimpleSchema setSupports(com.linkedin.data.template.StringArray value,
                                com.linkedin.data.template.SetMode mode)
Setter for supports

See Also:
SimpleSchema.Fields.supports()

setSupports

public SimpleSchema setSupports(com.linkedin.data.template.StringArray value)
Setter for supports

See Also:
SimpleSchema.Fields.supports()

hasMethods

public boolean hasMethods()
Existence checker for methods

See Also:
SimpleSchema.Fields.methods()

removeMethods

public void removeMethods()
Remover for methods

See Also:
SimpleSchema.Fields.methods()

getMethods

public RestMethodSchemaArray getMethods(com.linkedin.data.template.GetMode mode)
Getter for methods

See Also:
SimpleSchema.Fields.methods()

getMethods

public RestMethodSchemaArray getMethods()
Getter for methods

See Also:
SimpleSchema.Fields.methods()

setMethods

public SimpleSchema setMethods(RestMethodSchemaArray value,
                               com.linkedin.data.template.SetMode mode)
Setter for methods

See Also:
SimpleSchema.Fields.methods()

setMethods

public SimpleSchema setMethods(RestMethodSchemaArray value)
Setter for methods

See Also:
SimpleSchema.Fields.methods()

hasActions

public boolean hasActions()
Existence checker for actions

See Also:
SimpleSchema.Fields.actions()

removeActions

public void removeActions()
Remover for actions

See Also:
SimpleSchema.Fields.actions()

getActions

public ActionSchemaArray getActions(com.linkedin.data.template.GetMode mode)
Getter for actions

See Also:
SimpleSchema.Fields.actions()

getActions

public ActionSchemaArray getActions()
Getter for actions

See Also:
SimpleSchema.Fields.actions()

setActions

public SimpleSchema setActions(ActionSchemaArray value,
                               com.linkedin.data.template.SetMode mode)
Setter for actions

See Also:
SimpleSchema.Fields.actions()

setActions

public SimpleSchema setActions(ActionSchemaArray value)
Setter for actions

See Also:
SimpleSchema.Fields.actions()

hasEntity

public boolean hasEntity()
Existence checker for entity

See Also:
SimpleSchema.Fields.entity()

removeEntity

public void removeEntity()
Remover for entity

See Also:
SimpleSchema.Fields.entity()

getEntity

public EntitySchema getEntity(com.linkedin.data.template.GetMode mode)
Getter for entity

See Also:
SimpleSchema.Fields.entity()

getEntity

public EntitySchema getEntity()
Getter for entity

See Also:
SimpleSchema.Fields.entity()

setEntity

public SimpleSchema setEntity(EntitySchema value,
                              com.linkedin.data.template.SetMode mode)
Setter for entity

See Also:
SimpleSchema.Fields.entity()

setEntity

public SimpleSchema setEntity(EntitySchema value)
Setter for entity

See Also:
SimpleSchema.Fields.entity()

clone

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