org.benow.security.user
Interface Assignable


public interface Assignable

Assignable.java

Author:
andy

Method Summary
 void assignTo(User toAssignTo)
          Assigns this assignable to a user
 User getAssignedTo()
          Gets who this assignable has been assigned to
 java.util.Date getAssignmentDate()
          Gets when this assignable was assigned.
 boolean isAssigned()
          Is this thing assigned to a user?
 

Method Detail

assignTo

void assignTo(User toAssignTo)
Assigns this assignable to a user

Parameters:
toAssignTo -

isAssigned

boolean isAssigned()
Is this thing assigned to a user?

Returns:
true if assigned to a user, false otherwise.

getAssignedTo

User getAssignedTo()
Gets who this assignable has been assigned to

Returns:
User assigned to or null if not assigned

getAssignmentDate

java.util.Date getAssignmentDate()
Gets when this assignable was assigned.

Returns:
Date of assignment or null if not assigned