review updates (1)

This commit is contained in:
Rodica Sutu
2016-11-28 17:35:41 +02:00
parent 2c00b1aa22
commit 5ad5512c3e
8 changed files with 57 additions and 54 deletions

View File

@@ -84,6 +84,7 @@ public class FilePlanComponent
@JsonProperty (value = ALLOWABLE_OPERATIONS)
private List<String> allowableOperations;
private FilePlanComponentPath path;
@JsonProperty (required = true)
@@ -203,7 +204,7 @@ public class FilePlanComponent
/**
* @return the isCategory
*/
public Boolean isIsCategory()
public Boolean isCategory()
{
return this.isCategory;
}
@@ -219,7 +220,7 @@ public class FilePlanComponent
/**
* @return the isRecordFolder
*/
public Boolean isIsRecordFolder()
public Boolean isRecordFolder()
{
return this.isRecordFolder;
}
@@ -235,7 +236,7 @@ public class FilePlanComponent
/**
* @return the isFile
*/
public Boolean isIsFile()
public Boolean isFile()
{
return this.isFile;
}
@@ -251,7 +252,7 @@ public class FilePlanComponent
/**
* @return the hasRetentionSchedule
*/
public Boolean isHasRetentionSchedule()
public Boolean hasRetentionSchedule()
{
return this.hasRetentionSchedule;
}

View File

@@ -58,13 +58,16 @@ public class PojoUtility
//return the json object
return mapper.writerWithDefaultPrettyPrinter().writeValueAsString(model);
} catch (JsonGenerationException e)
}
catch (JsonGenerationException e)
{
return e.toString();
} catch (JsonMappingException e)
}
catch (JsonMappingException e)
{
return e.toString();
} catch (IOException e)
}
catch (IOException e)
{
return e.toString();
}