Package com.avoka.fc.core.entity.auto
Class _UserRole
- java.lang.Object
-
- org.apache.cayenne.PersistentObject
-
- org.apache.cayenne.BaseDataObject
-
- org.apache.cayenne.CayenneDataObject
-
- com.avoka.core.entity.BaseEntity
-
- com.avoka.fc.core.entity.auto._UserRole
-
- All Implemented Interfaces:
IEntity
,Serializable
,org.apache.cayenne.DataObject
,org.apache.cayenne.Persistent
,org.apache.cayenne.Validating
- Direct Known Subclasses:
UserRole
public abstract class _UserRole extends BaseEntity
Provides the _UserRole database entity.
Please note this class was generated by Cayenne. You should avoid making changes to this class as it may be regenerated. Please make customizations to the entity subclass.
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static org.apache.cayenne.exp.Property<Date>
EXPIRY_DATETIME
Provides the 'EXPIRY_DATETIME' property.static String
EXPIRY_DATETIME_PROPERTY
Provides the 'expiryDatetime' property name.static org.apache.cayenne.exp.Property<Role>
ROLE
Provides the 'ROLE' property.static String
ROLE_PROPERTY
Provides the 'role' relationship name.static org.apache.cayenne.exp.Property<UserAccount>
USER
Provides the 'USER' property.static String
USER_PROPERTY
Provides the 'user' relationship name.static String
USER_ROLE_OID_PK_COLUMN
Provides the 'user_role_oid' primary key database column name.-
Fields inherited from class com.avoka.core.entity.BaseEntity
ID_PROPERTY
-
-
Constructor Summary
Constructors Constructor Description _UserRole()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Date
getExpiryDatetime()
Return the expiryDatetime value.Role
getRole()
Return the Role.UserAccount
getUser()
Return the User.void
setExpiryDatetime(Date expiryDatetime)
Set the expiryDatetime value.void
setRole(Role role)
Set the Role.void
setUser(UserAccount user)
Set the User.-
Methods inherited from class com.avoka.core.entity.BaseEntity
appendProperties, getId, getValuesMap, isNew, setId, toString
-
Methods inherited from class org.apache.cayenne.CayenneDataObject
makePath, readPropertyDirectly, readState, setPersistenceState, writePropertyDirectly, writeState
-
Methods inherited from class org.apache.cayenne.BaseDataObject
addToManyTarget, beforePropertyRead, beforePropertyWrite, getSnapshotVersion, readNestedProperty, readProperty, readSerialized, removeToManyTarget, setObjectContext, setReverseRelationship, setSnapshotVersion, setToManyTarget, setToOneTarget, toStringBuffer, unsetReverseRelationship, validateForDelete, validateForInsert, validateForSave, validateForUpdate, willConnect, writeProperty, writeSerialized
-
Methods inherited from class org.apache.cayenne.PersistentObject
getMapKey, getObjectContext, getObjectId, getPersistenceState, setObjectId
-
-
-
-
Field Detail
-
EXPIRY_DATETIME_PROPERTY
public static final String EXPIRY_DATETIME_PROPERTY
Provides the 'expiryDatetime' property name.- See Also:
- Constant Field Values
-
ROLE_PROPERTY
public static final String ROLE_PROPERTY
Provides the 'role' relationship name.- See Also:
- Constant Field Values
-
USER_PROPERTY
public static final String USER_PROPERTY
Provides the 'user' relationship name.- See Also:
- Constant Field Values
-
USER_ROLE_OID_PK_COLUMN
public static final String USER_ROLE_OID_PK_COLUMN
Provides the 'user_role_oid' primary key database column name.- See Also:
- Constant Field Values
-
EXPIRY_DATETIME
public static final org.apache.cayenne.exp.Property<Date> EXPIRY_DATETIME
Provides the 'EXPIRY_DATETIME' property.
-
ROLE
public static final org.apache.cayenne.exp.Property<Role> ROLE
Provides the 'ROLE' property.
-
USER
public static final org.apache.cayenne.exp.Property<UserAccount> USER
Provides the 'USER' property.
-
-
Method Detail
-
setExpiryDatetime
public void setExpiryDatetime(Date expiryDatetime)
Set the expiryDatetime value.- Parameters:
expiryDatetime
- the expiryDatetime value to set
-
getExpiryDatetime
public Date getExpiryDatetime()
Return the expiryDatetime value.- Returns:
- expiryDatetime the expiryDatetime value
-
setRole
public void setRole(Role role)
Set the Role.- Parameters:
role
- the role value to set
-
getRole
public Role getRole()
Return the Role.- Returns:
- the role value
-
setUser
public void setUser(UserAccount user)
Set the User.- Parameters:
user
- the user value to set
-
getUser
public UserAccount getUser()
Return the User.- Returns:
- the user value
-
-