Package org.dnsge.powerschoolapi.detail
Class AssignmentFlagContainer
- java.lang.Object
-
- org.dnsge.powerschoolapi.detail.AssignmentFlagContainer
-
public class AssignmentFlagContainer extends java.lang.Object
Class that holds information about anAssignment's
flags- Version:
- 1.0.3
- See Also:
Assignment
-
-
Constructor Summary
Constructors Constructor Description AssignmentFlagContainer(java.lang.Boolean isCollected, java.lang.Boolean isLate, java.lang.Boolean isMissing, java.lang.Boolean isExempt, java.lang.Boolean isAbsent, java.lang.Boolean isIncomplete)
Basic constructor for an AssignmentFlagContainer
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AssignmentFlagContainer
empty()
boolean
equals(java.lang.Object o)
int
hashCode()
java.lang.Boolean
isAbsent()
java.lang.Boolean
isCollected()
java.lang.Boolean
isExempt()
java.lang.Boolean
isIncomplete()
java.lang.Boolean
isLate()
java.lang.Boolean
isMissing()
-
-
-
Constructor Detail
-
AssignmentFlagContainer
public AssignmentFlagContainer(java.lang.Boolean isCollected, java.lang.Boolean isLate, java.lang.Boolean isMissing, java.lang.Boolean isExempt, java.lang.Boolean isAbsent, java.lang.Boolean isIncomplete)
Basic constructor for an AssignmentFlagContainer- Parameters:
isCollected
- Collected flagisLate
- Late flagisMissing
- Missing flagisExempt
- Exempt flagisAbsent
- Absent flagisIncomplete
- Incomplete flag
-
-
Method Detail
-
empty
public static AssignmentFlagContainer empty()
- Returns:
- a new
AssignmentFlagContainer
that is empty
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
isCollected
public java.lang.Boolean isCollected()
- Returns:
- whether the Assignment has the Collected flag
-
isLate
public java.lang.Boolean isLate()
- Returns:
- whether the Assignment has the Late flag
-
isMissing
public java.lang.Boolean isMissing()
- Returns:
- whether the Assignment has the Missing flag
-
isExempt
public java.lang.Boolean isExempt()
- Returns:
- whether the Assignment has the Exempt flag
-
isAbsent
public java.lang.Boolean isAbsent()
- Returns:
- whether the Assignment has the Absent flag
-
isIncomplete
public java.lang.Boolean isIncomplete()
- Returns:
- whether the Assignment has the Incomplete flag
-
-