|
|
@ -31,15 +31,15 @@ public class Attribute {
|
|
|
|
private String name;
|
|
|
|
private String name;
|
|
|
|
@ApiModelProperty(value = "Event attribute data type")
|
|
|
|
@ApiModelProperty(value = "Event attribute data type")
|
|
|
|
@JsonProperty("type")
|
|
|
|
@JsonProperty("type")
|
|
|
|
private AttributeDataType type;
|
|
|
|
private AttributeType type;
|
|
|
|
|
|
|
|
|
|
|
|
public Attribute() {
|
|
|
|
public Attribute() {
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public Attribute(String name, AttributeDataType attributeDataType) {
|
|
|
|
public Attribute(String name, AttributeType attributeType) {
|
|
|
|
this.name = name;
|
|
|
|
this.name = name;
|
|
|
|
this.type = attributeDataType;
|
|
|
|
this.type = attributeType;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
public String getName() {
|
|
|
|
public String getName() {
|
|
|
|
return name;
|
|
|
|
return name;
|
|
|
@ -49,11 +49,11 @@ public class Attribute {
|
|
|
|
this.name = name;
|
|
|
|
this.name = name;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public AttributeDataType getType() {
|
|
|
|
public AttributeType getType() {
|
|
|
|
return type;
|
|
|
|
return type;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public void setType(AttributeDataType type) {
|
|
|
|
public void setType(AttributeType type) {
|
|
|
|
this.type = type;
|
|
|
|
this.type = type;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|