com.linkedin.restli.restspec
Class CollectionSchema

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


Nested Class Summary
static class CollectionSchema.Fields
           
 
Constructor Summary
CollectionSchema()
           
CollectionSchema(com.linkedin.data.DataMap data)
           
 
Method Summary
 CollectionSchema clone()
           
 CollectionSchema copy()
           
static CollectionSchema.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
 FinderSchemaArray getFinders()
          Getter for finders
 FinderSchemaArray getFinders(com.linkedin.data.template.GetMode mode)
          Getter for finders
 IdentifierSchema getIdentifier()
          Getter for identifier
 IdentifierSchema getIdentifier(com.linkedin.data.template.GetMode mode)
          Getter for identifier
 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 hasFinders()
          Existence checker for finders
 boolean hasIdentifier()
          Existence checker for identifier
 boolean hasMethods()
          Existence checker for methods
 boolean hasSupports()
          Existence checker for supports
 void removeActions()
          Remover for actions
 void removeEntity()
          Remover for entity
 void removeFinders()
          Remover for finders
 void removeIdentifier()
          Remover for identifier
 void removeMethods()
          Remover for methods
 void removeSupports()
          Remover for supports
 CollectionSchema setActions(ActionSchemaArray value)
          Setter for actions
 CollectionSchema setActions(ActionSchemaArray value, com.linkedin.data.template.SetMode mode)
          Setter for actions
 CollectionSchema setEntity(EntitySchema value)
          Setter for entity
 CollectionSchema setEntity(EntitySchema value, com.linkedin.data.template.SetMode mode)
          Setter for entity
 CollectionSchema setFinders(FinderSchemaArray value)
          Setter for finders
 CollectionSchema setFinders(FinderSchemaArray value, com.linkedin.data.template.SetMode mode)
          Setter for finders
 CollectionSchema setIdentifier(IdentifierSchema value)
          Setter for identifier
 CollectionSchema setIdentifier(IdentifierSchema value, com.linkedin.data.template.SetMode mode)
          Setter for identifier
 CollectionSchema setMethods(RestMethodSchemaArray value)
          Setter for methods
 CollectionSchema setMethods(RestMethodSchemaArray value, com.linkedin.data.template.SetMode mode)
          Setter for methods
 CollectionSchema setSupports(com.linkedin.data.template.StringArray value)
          Setter for supports
 CollectionSchema 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

CollectionSchema

public CollectionSchema()

CollectionSchema

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

fields

public static CollectionSchema.Fields fields()

hasIdentifier

public boolean hasIdentifier()
Existence checker for identifier

See Also:
CollectionSchema.Fields.identifier()

removeIdentifier

public void removeIdentifier()
Remover for identifier

See Also:
CollectionSchema.Fields.identifier()

getIdentifier

public IdentifierSchema getIdentifier(com.linkedin.data.template.GetMode mode)
Getter for identifier

See Also:
CollectionSchema.Fields.identifier()

getIdentifier

public IdentifierSchema getIdentifier()
Getter for identifier

See Also:
CollectionSchema.Fields.identifier()

setIdentifier

public CollectionSchema setIdentifier(IdentifierSchema value,
                                      com.linkedin.data.template.SetMode mode)
Setter for identifier

See Also:
CollectionSchema.Fields.identifier()

setIdentifier

public CollectionSchema setIdentifier(IdentifierSchema value)
Setter for identifier

See Also:
CollectionSchema.Fields.identifier()

hasSupports

public boolean hasSupports()
Existence checker for supports

See Also:
CollectionSchema.Fields.supports()

removeSupports

public void removeSupports()
Remover for supports

See Also:
CollectionSchema.Fields.supports()

getSupports

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

See Also:
CollectionSchema.Fields.supports()

getSupports

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

See Also:
CollectionSchema.Fields.supports()

setSupports

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

See Also:
CollectionSchema.Fields.supports()

setSupports

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

See Also:
CollectionSchema.Fields.supports()

hasMethods

public boolean hasMethods()
Existence checker for methods

See Also:
CollectionSchema.Fields.methods()

removeMethods

public void removeMethods()
Remover for methods

See Also:
CollectionSchema.Fields.methods()

getMethods

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

See Also:
CollectionSchema.Fields.methods()

getMethods

public RestMethodSchemaArray getMethods()
Getter for methods

See Also:
CollectionSchema.Fields.methods()

setMethods

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

See Also:
CollectionSchema.Fields.methods()

setMethods

public CollectionSchema setMethods(RestMethodSchemaArray value)
Setter for methods

See Also:
CollectionSchema.Fields.methods()

hasFinders

public boolean hasFinders()
Existence checker for finders

See Also:
CollectionSchema.Fields.finders()

removeFinders

public void removeFinders()
Remover for finders

See Also:
CollectionSchema.Fields.finders()

getFinders

public FinderSchemaArray getFinders(com.linkedin.data.template.GetMode mode)
Getter for finders

See Also:
CollectionSchema.Fields.finders()

getFinders

public FinderSchemaArray getFinders()
Getter for finders

See Also:
CollectionSchema.Fields.finders()

setFinders

public CollectionSchema setFinders(FinderSchemaArray value,
                                   com.linkedin.data.template.SetMode mode)
Setter for finders

See Also:
CollectionSchema.Fields.finders()

setFinders

public CollectionSchema setFinders(FinderSchemaArray value)
Setter for finders

See Also:
CollectionSchema.Fields.finders()

hasActions

public boolean hasActions()
Existence checker for actions

See Also:
CollectionSchema.Fields.actions()

removeActions

public void removeActions()
Remover for actions

See Also:
CollectionSchema.Fields.actions()

getActions

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

See Also:
CollectionSchema.Fields.actions()

getActions

public ActionSchemaArray getActions()
Getter for actions

See Also:
CollectionSchema.Fields.actions()

setActions

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

See Also:
CollectionSchema.Fields.actions()

setActions

public CollectionSchema setActions(ActionSchemaArray value)
Setter for actions

See Also:
CollectionSchema.Fields.actions()

hasEntity

public boolean hasEntity()
Existence checker for entity

See Also:
CollectionSchema.Fields.entity()

removeEntity

public void removeEntity()
Remover for entity

See Also:
CollectionSchema.Fields.entity()

getEntity

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

See Also:
CollectionSchema.Fields.entity()

getEntity

public EntitySchema getEntity()
Getter for entity

See Also:
CollectionSchema.Fields.entity()

setEntity

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

See Also:
CollectionSchema.Fields.entity()

setEntity

public CollectionSchema setEntity(EntitySchema value)
Setter for entity

See Also:
CollectionSchema.Fields.entity()

clone

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