public abstract class BadgeModel
extends java.lang.Object
BadgeModel abstract class wraps the core attributes pertaining to the badge found in
a BadgeEntity with other more dynamic attributes, such as the list of pending badge
conditions required to be satisfied before the badge is able to be used.| Modifier and Type | Method and Description |
|---|---|
abstract boolean |
activated()
Returns a boolean that represents whether or not the badge is activated.
|
abstract BadgeEntity |
badgeEntity()
Returns a
BadgeEntity object that wraps the core attributes pertaining to the badge. |
abstract java.util.List<BadgeCondition> |
pendingBadgeConditionList()
Returns the
List of BadgeCondition objects that includes various requirements
and restrictions that must be fulfilled before the badge is able to be used. |
public abstract BadgeEntity badgeEntity()
BadgeEntity object that wraps the core attributes pertaining to the badge.BadgeEntity object.public abstract java.util.List<BadgeCondition> pendingBadgeConditionList()
List of BadgeCondition objects that includes various requirements
and restrictions that must be fulfilled before the badge is able to be used.List of BadgeCondition objects of the badge.public abstract boolean activated()
BadgeEntity.activated(long).true if the badge is activated;
false otherwise.