public class DiaryRestriction extends java.lang.Object implements Restriction
Diaries.Diary
Constructor and Description |
---|
DiaryRestriction(Diaries.Diary diary)
Constructor
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
Diaries.Diary |
getDiary()
Gets the restricted diary
|
java.lang.String |
toString() |
public DiaryRestriction(Diaries.Diary diary)
diary
- The restricted diarypublic Diaries.Diary getDiary()
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object