Liferay 7.0-ce-a3

com.liferay.portlet.softwarecatalog.model.impl
Class SCLicenseCacheModel

java.lang.Object
  extended by com.liferay.portlet.softwarecatalog.model.impl.SCLicenseCacheModel
All Implemented Interfaces:
CacheModel<SCLicense>, Externalizable, Serializable

@ProviderType
public class SCLicenseCacheModel
extends Object
implements CacheModel<SCLicense>, Externalizable

The cache model class for representing SCLicense in entity cache.

See Also:
SCLicense, Serialized Form
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.

Field Summary
 boolean active
           
 long companyId
           
 long licenseId
           
 String name
           
 boolean openSource
           
 boolean recommended
           
 String url
           
 
Constructor Summary
SCLicenseCacheModel()
           
 
Method Summary
 boolean equals(Object obj)
           
 int hashCode()
           
 void readExternal(ObjectInput objectInput)
           
 SCLicense toEntityModel()
           
 String toString()
           
 void writeExternal(ObjectOutput objectOutput)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

licenseId

public long licenseId

companyId

public long companyId

name

public String name

url

public String url

openSource

public boolean openSource

active

public boolean active

recommended

public boolean recommended
Constructor Detail

SCLicenseCacheModel

public SCLicenseCacheModel()
Method Detail

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object

toEntityModel

public SCLicense toEntityModel()
Specified by:
toEntityModel in interface CacheModel<SCLicense>

readExternal

public void readExternal(ObjectInput objectInput)
                  throws IOException
Specified by:
readExternal in interface Externalizable
Throws:
IOException

writeExternal

public void writeExternal(ObjectOutput objectOutput)
                   throws IOException
Specified by:
writeExternal in interface Externalizable
Throws:
IOException

Liferay 7.0-ce-a3