com.linkedin.restli.restspec
Class EntitySchema

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


Nested Class Summary
static class EntitySchema.Fields
           
 
Constructor Summary
EntitySchema()
           
EntitySchema(com.linkedin.data.DataMap data)
           
 
Method Summary
 EntitySchema clone()
           
 EntitySchema copy()
           
static EntitySchema.Fields fields()
           
 ActionSchemaArray getActions()
          Getter for actions
 ActionSchemaArray getActions(com.linkedin.data.template.GetMode mode)
          Getter for actions
 java.lang.String getPath()
          Getter for path
 java.lang.String getPath(com.linkedin.data.template.GetMode mode)
          Getter for path
 ResourceSchemaArray getSubresources()
          Getter for subresources
 ResourceSchemaArray getSubresources(com.linkedin.data.template.GetMode mode)
          Getter for subresources
 boolean hasActions()
          Existence checker for actions
 boolean hasPath()
          Existence checker for path
 boolean hasSubresources()
          Existence checker for subresources
 void removeActions()
          Remover for actions
 void removePath()
          Remover for path
 void removeSubresources()
          Remover for subresources
 EntitySchema setActions(ActionSchemaArray value)
          Setter for actions
 EntitySchema setActions(ActionSchemaArray value, com.linkedin.data.template.SetMode mode)
          Setter for actions
 EntitySchema setPath(java.lang.String value)
          Setter for path
 EntitySchema setPath(java.lang.String value, com.linkedin.data.template.SetMode mode)
          Setter for path
 EntitySchema setSubresources(ResourceSchemaArray value)
          Setter for subresources
 EntitySchema setSubresources(ResourceSchemaArray value, com.linkedin.data.template.SetMode mode)
          Setter for subresources
 
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

EntitySchema

public EntitySchema()

EntitySchema

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

fields

public static EntitySchema.Fields fields()

hasPath

public boolean hasPath()
Existence checker for path

See Also:
EntitySchema.Fields.path()

removePath

public void removePath()
Remover for path

See Also:
EntitySchema.Fields.path()

getPath

public java.lang.String getPath(com.linkedin.data.template.GetMode mode)
Getter for path

See Also:
EntitySchema.Fields.path()

getPath

public java.lang.String getPath()
Getter for path

See Also:
EntitySchema.Fields.path()

setPath

public EntitySchema setPath(java.lang.String value,
                            com.linkedin.data.template.SetMode mode)
Setter for path

See Also:
EntitySchema.Fields.path()

setPath

public EntitySchema setPath(java.lang.String value)
Setter for path

See Also:
EntitySchema.Fields.path()

hasActions

public boolean hasActions()
Existence checker for actions

See Also:
EntitySchema.Fields.actions()

removeActions

public void removeActions()
Remover for actions

See Also:
EntitySchema.Fields.actions()

getActions

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

See Also:
EntitySchema.Fields.actions()

getActions

public ActionSchemaArray getActions()
Getter for actions

See Also:
EntitySchema.Fields.actions()

setActions

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

See Also:
EntitySchema.Fields.actions()

setActions

public EntitySchema setActions(ActionSchemaArray value)
Setter for actions

See Also:
EntitySchema.Fields.actions()

hasSubresources

public boolean hasSubresources()
Existence checker for subresources

See Also:
EntitySchema.Fields.subresources()

removeSubresources

public void removeSubresources()
Remover for subresources

See Also:
EntitySchema.Fields.subresources()

getSubresources

public ResourceSchemaArray getSubresources(com.linkedin.data.template.GetMode mode)
Getter for subresources

See Also:
EntitySchema.Fields.subresources()

getSubresources

public ResourceSchemaArray getSubresources()
Getter for subresources

See Also:
EntitySchema.Fields.subresources()

setSubresources

public EntitySchema setSubresources(ResourceSchemaArray value,
                                    com.linkedin.data.template.SetMode mode)
Setter for subresources

See Also:
EntitySchema.Fields.subresources()

setSubresources

public EntitySchema setSubresources(ResourceSchemaArray value)
Setter for subresources

See Also:
EntitySchema.Fields.subresources()

clone

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