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

BIS-1002: fixed some AS tests

parent 6e8f2c71
No related branches found
No related tags found
1 merge request!40SSDM-13578 : 2PT : Database and V3 Implementation - include the new AFS "free"...
......@@ -63,7 +63,9 @@ public abstract class AbstractTypePE extends AbstractIdAndCodeHolder<AbstractTyp
this.id = id;
}
public abstract void setCode(final String code);
public void setCode(final String code) {
this.code = code;
};
@Column(name = ColumnNames.DESCRIPTION_COLUMN)
@org.hibernate.validator.constraints.Length(max = GenericConstants.DESCRIPTION_2000, message = ValidationMessages.DESCRIPTION_LENGTH_MESSAGE)
......@@ -83,7 +85,10 @@ public abstract class AbstractTypePE extends AbstractIdAndCodeHolder<AbstractTyp
@Override
@Column(name = ColumnNames.CODE_COLUMN, insertable = false, updatable = false)
public abstract String getCode();
public String getCode()
{
return code;
}
@Override
ToStringBuilder createStringBuilder()
......
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