Class MongoStep
java.lang.Object
dev.getelements.elements.dao.mongo.model.mission.MongoStep
Mongo DTO for a mission step.
This is NOT an entity, and is therefore not directly searchable
As a purely embedded object, we could have leveraged the domain model - however, we may change our mind and create
a collection for this object and/or implement mongo-specific logic here
Created by davidjbrooks on 11/27/2018.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
int
getCount()
int
hashCode()
void
setCount
(int count) void
setDescription
(String description) void
setDisplayName
(String displayName) void
setMetadata
(Map<String, Object> metadata) void
setRewards
(List<MongoReward> rewards) toString()
-
Constructor Details
-
MongoStep
public MongoStep()
-
-
Method Details
-
getDisplayName
-
setDisplayName
-
getDescription
-
setDescription
-
getCount
public int getCount() -
setCount
public void setCount(int count) -
getRewards
-
setRewards
-
getMetadata
-
setMetadata
-
equals
-
hashCode
public int hashCode() -
toString
-