Class MongoApplication
java.lang.Object
dev.getelements.elements.dao.mongo.model.application.MongoApplication
@Entity(value="application",
useDiscriminator=false)
@Indexes(@Index(fields=@Field("name"),options=@IndexOptions(unique=true,sparse=true)))
public class MongoApplication
extends Object
Created by patricktwohig on 7/10/15.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetName()
org.bson.types.ObjectId
void
setAttributes
(Map<String, Object> attributes) void
setDescription
(String description) void
void
setObjectId
(org.bson.types.ObjectId objectId)
-
Constructor Details
-
MongoApplication
public MongoApplication()
-
-
Method Details
-
getObjectId
public org.bson.types.ObjectId getObjectId() -
setObjectId
public void setObjectId(org.bson.types.ObjectId objectId) -
getName
-
setName
-
getDescription
-
setDescription
-
getAttributes
-
setAttributes
-