org.broadleafcommerce.core.media.domain
Class MediaImpl

java.lang.Object
  extended by org.broadleafcommerce.core.media.domain.MediaImpl
All Implemented Interfaces:
Serializable, Media

@Entity
public class MediaImpl
extends Object
implements Media

See Also:
Serialized Form

Field Summary
protected  Long id
           
protected  String label
           
protected  String name
           
protected  String url
           
 
Constructor Summary
MediaImpl()
           
 
Method Summary
 boolean equals(Object obj)
           
 Long getId()
           
 String getLabel()
           
 String getName()
           
 String getUrl()
           
 int hashCode()
           
 void setId(Long id)
           
 void setLabel(String label)
           
 void setName(String name)
           
 void setUrl(String url)
           
 
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

url

protected String url

label

protected String label
Constructor Detail

MediaImpl

public MediaImpl()
Method Detail

getId

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

setId

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

getName

public String getName()
Specified by:
getName in interface Media

setName

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

getLabel

public String getLabel()
Specified by:
getLabel in interface Media

setLabel

public void setLabel(String label)
Specified by:
setLabel in interface Media

getUrl

public String getUrl()
Specified by:
getUrl in interface Media

setUrl

public void setUrl(String url)
Specified by:
setUrl in interface Media

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.