org.broadleafcommerce.common.sandbox.domain
Class SandBoxImpl

java.lang.Object
  extended by org.broadleafcommerce.common.sandbox.domain.SandBoxImpl
All Implemented Interfaces:
Serializable, SandBox

@Entity
public class SandBoxImpl
extends Object
implements SandBox

See Also:
Serialized Form

Field Summary
protected  Long author
           
protected  Long id
           
protected  String name
           
protected  String sandboxType
           
protected  Site site
           
 
Constructor Summary
SandBoxImpl()
           
 
Method Summary
 boolean equals(Object obj)
           
 Long getAuthor()
           
 Long getId()
           
 String getName()
          The name of the sandbox.
 SandBoxType getSandBoxType()
           
 Site getSite()
           
 int hashCode()
           
 void setAuthor(Long author)
           
 void setId(Long id)
           
 void setName(String name)
           
 void setSandBoxType(SandBoxType sandboxType)
           
 void setSite(Site site)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

id

protected Long id

name

protected String name

author

protected Long author

site

protected Site site

sandboxType

protected String sandboxType
Constructor Detail

SandBoxImpl

public SandBoxImpl()
Method Detail

getId

public Long getId()
Specified by:
getId in interface SandBox

setId

public void setId(Long id)
Specified by:
setId in interface SandBox

getName

public String getName()
Description copied from interface: SandBox
The name of the sandbox. Certain sandbox names are reserved in the system. User created sandboxes cannot start with "", "approve_", or "deploy_".

Specified by:
getName in interface SandBox
Returns:
String sandbox name

setName

public void setName(String name)
Specified by:
setName in interface SandBox

getSandBoxType

public SandBoxType getSandBoxType()
Specified by:
getSandBoxType in interface SandBox

setSandBoxType

public void setSandBoxType(SandBoxType sandboxType)
Specified by:
setSandBoxType in interface SandBox

getAuthor

public Long getAuthor()
Specified by:
getAuthor in interface SandBox

setAuthor

public void setAuthor(Long author)
Specified by:
setAuthor in interface SandBox

getSite

public Site getSite()
Specified by:
getSite in interface SandBox

setSite

public void setSite(Site site)
Specified by:
setSite in interface SandBox

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2012. All Rights Reserved.