
com.intellifylearning.models.IdentifyDigitalResource Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of intellisense Show documentation
Show all versions of intellisense Show documentation
IntelliSense Sensor API for Java
/**
*
*/
package com.intellifylearning.models;
import org.joda.time.DateTime;
/**
* @author pnayak
*
*/
public class IdentifyDigitalResource extends BasePayload {
private String action = "identifyDigitalResource";
private String entityId;
private String type;
private Traits traits;
public IdentifyDigitalResource(String entityId,
String type,
Traits traits,
DateTime timestamp,
Context context,
Callback callback) {
super(null, timestamp, context, callback);
this.entityId = entityId;
if (traits != null) {
this.traits = traits;
} else {
this.traits = new Traits();
}
}
public String getAction() {
return action;
}
public void setAction(String action) {
this.action = action;
}
public Traits getTraits() {
return traits;
}
public void setTraits(Traits traits) {
this.traits = traits;
}
public String getEntityId() {
return entityId;
}
public void setEntityId(String entityId) {
this.entityId = entityId;
}
public String getType() {
return type;
}
public void setType(String type) {
this.type = type;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy