Skip to content
Snippets Groups Projects
Commit 20a9b921 authored by Adam Laskowski's avatar Adam Laskowski
Browse files

BIS-768: Changed PropertyAssignment and PropertyAssignmentCreation to include unique - java

parent 3159ba70
No related branches found
No related tags found
1 merge request!40SSDM-13578 : 2PT : Database and V3 Implementation - include the new AFS "free"...
......@@ -87,6 +87,9 @@ public class PropertyAssignment
@JsonProperty
private Plugin plugin;
@JsonProperty
private Boolean unique;
// Method automatically generated with DtoGenerator
@JsonIgnore
public PropertyAssignmentFetchOptions getFetchOptions()
......@@ -308,6 +311,17 @@ public class PropertyAssignment
this.plugin = plugin;
}
@JsonIgnore
public Boolean isUnique()
{
return unique;
}
public void setUnique(Boolean unique)
{
this.unique = unique;
}
// Method automatically generated with DtoGenerator
@Override
public String toString()
......
......@@ -45,6 +45,8 @@ public class PropertyAssignmentCreation implements ICreation
private boolean showRawValueInForms = false;
private boolean unique = false;
public String getSection()
{
return section;
......@@ -125,6 +127,16 @@ public class PropertyAssignmentCreation implements ICreation
this.showRawValueInForms = showRawValueInForms;
}
public boolean isUnique()
{
return unique;
}
public void setUnique(boolean unique)
{
this.unique = unique;
}
@Override
public String toString()
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment