com.liferay.portlet.social.model.impl
Class SocialRelationCacheModel
java.lang.Object
com.liferay.portlet.social.model.impl.SocialRelationCacheModel
- All Implemented Interfaces:
- CacheModel<SocialRelation>, Externalizable, Serializable
@ProviderType
public class SocialRelationCacheModel
- extends Object
- implements CacheModel<SocialRelation>, Externalizable
The cache model class for representing SocialRelation in entity cache.
- See Also:
SocialRelation,
Serialized Form- ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.
uuid
public String uuid
relationId
public long relationId
companyId
public long companyId
createDate
public long createDate
userId1
public long userId1
userId2
public long userId2
type
public int type
SocialRelationCacheModel
public SocialRelationCacheModel()
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 SocialRelation toEntityModel()
- Specified by:
toEntityModel in interface CacheModel<SocialRelation>
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