com.mizar.persistence.jpa.security
Class UserPropertiesBean

java.lang.Object
  extended by com.mizar.persistence.jpa.beans.GenericBean
      extended by com.mizar.persistence.jpa.security.UserPropertiesBean
All Implemented Interfaces:
UserProperties, JPAInterface, java.io.Serializable, java.lang.Comparable

@Entity
public class UserPropertiesBean
extends GenericBean
implements UserProperties

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.mizar.persistence.jpa.beans.GenericBean
_logger, DELETE, EDIT, NEW, READ, serialVersionUID
 
Constructor Summary
UserPropertiesBean()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
          Compares two UserPropertiesBean objects using propertyId, name, and value
 java.lang.String getName()
           
 UserBean getOwner()
           
 java.lang.Long getPropertyId()
           
 java.lang.String getValue()
           
 int getVersion()
           
 int hashCode()
           
 void setName(java.lang.String name)
           
 void setOwner(UserBean owner)
           
 void setPropertyId(java.lang.Long propertyId)
           
 void setValue(java.lang.String value)
           
 
Methods inherited from class com.mizar.persistence.jpa.beans.GenericBean
compareTo, getDELETE, getEDIT, getEntityState, getEntityStateLabel, getLogger, getNEW, getPrimaryKeyValue, getREAD, isEditable, isNew, setEditable, setEntityState, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UserPropertiesBean

public UserPropertiesBean()
Method Detail

setName

public void setName(java.lang.String name)

getName

public java.lang.String getName()
Specified by:
getName in interface UserProperties

setValue

public void setValue(java.lang.String value)

getValue

public java.lang.String getValue()
Specified by:
getValue in interface UserProperties

setOwner

public void setOwner(UserBean owner)

getOwner

public UserBean getOwner()
Specified by:
getOwner in interface UserProperties

setPropertyId

public void setPropertyId(java.lang.Long propertyId)

getPropertyId

public java.lang.Long getPropertyId()
Specified by:
getPropertyId in interface UserProperties

getVersion

public int getVersion()

equals

public boolean equals(java.lang.Object obj)
Compares two UserPropertiesBean objects using propertyId, name, and value

Overrides:
equals in class GenericBean
Parameters:
obj. - The other object to compare
Returns:
See Also:
GenericBean.compareTo(Object)

hashCode

public int hashCode()
Overrides:
hashCode in class GenericBean