mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
fix: Change in file name
File name of AttributeDataType was changed to AttributeType to resolve some conflicts with import statements.
This commit is contained in:
parent
6def2e1efa
commit
35b03d387c
@ -31,15 +31,15 @@ public class Attribute {
|
||||
private String name;
|
||||
@ApiModelProperty(value = "Event attribute data type")
|
||||
@JsonProperty("type")
|
||||
private AttributeDataType type;
|
||||
private AttributeType type;
|
||||
|
||||
public Attribute() {
|
||||
|
||||
}
|
||||
|
||||
public Attribute(String name, AttributeDataType attributeDataType) {
|
||||
public Attribute(String name, AttributeType attributeType) {
|
||||
this.name = name;
|
||||
this.type = attributeDataType;
|
||||
this.type = attributeType;
|
||||
}
|
||||
public String getName() {
|
||||
return name;
|
||||
@ -49,11 +49,11 @@ public class Attribute {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public AttributeDataType getType() {
|
||||
public AttributeType getType() {
|
||||
return type;
|
||||
}
|
||||
|
||||
public void setType(AttributeDataType type) {
|
||||
public void setType(AttributeType type) {
|
||||
this.type = type;
|
||||
}
|
||||
}
|
||||
|
||||
@ -21,7 +21,7 @@ package org.wso2.carbon.device.mgt.jaxrs.beans.analytics;
|
||||
/**
|
||||
* Attribute data types
|
||||
*/
|
||||
public enum AttributeDataType {
|
||||
public enum AttributeType {
|
||||
STRING, LONG, BOOL, INT, FLOAT, DOUBLE;
|
||||
|
||||
@Override
|
||||
Loading…
Reference in New Issue
Block a user