diff options
Diffstat (limited to 'ONAP-REST/src/main/java/org/onap/policy/rest/jpa/Attribute.java')
-rw-r--r-- | ONAP-REST/src/main/java/org/onap/policy/rest/jpa/Attribute.java | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/ONAP-REST/src/main/java/org/onap/policy/rest/jpa/Attribute.java b/ONAP-REST/src/main/java/org/onap/policy/rest/jpa/Attribute.java index 7285e2e36..ea89eeac9 100644 --- a/ONAP-REST/src/main/java/org/onap/policy/rest/jpa/Attribute.java +++ b/ONAP-REST/src/main/java/org/onap/policy/rest/jpa/Attribute.java @@ -151,6 +151,7 @@ public class Attribute implements Serializable { public Attribute() { + //An empty constructor } public Attribute(String domain) { @@ -230,11 +231,7 @@ public class Attribute implements Serializable { public String getXacmlId() { return this.xacmlId; } - -/* @Transient - public Identifier getXacmlIdentifier() { - return new IdentifierImpl(this.xacmlId); - }*/ + public void setXacmlId(String xacmlId) { this.xacmlId = xacmlId; @@ -332,7 +329,7 @@ public class Attribute implements Serializable { @Transient public boolean isDesignator() { - return (this.isDesignator == '1'); + return this.isDesignator == '1'; } @Transient |