[ https://issues.apache.org/jira/browse/ATLAS-1568?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Madhan Neethiraj updated ATLAS-1568: ------------------------------------ Attachment: ATLAS-1568.patch Review board URL: https://reviews.apache.org/r/56815/ > Move helper methods from org.apache.atlas.model package classes into an > utility class > ------------------------------------------------------------------------------------- > > Key: ATLAS-1568 > URL: https://issues.apache.org/jira/browse/ATLAS-1568 > Project: Atlas > Issue Type: Bug > Components: atlas-core > Affects Versions: 0.8-incubating > Reporter: Madhan Neethiraj > Assignee: Madhan Neethiraj > Fix For: 0.8-incubating > > Attachments: ATLAS-1568.patch > > > Helper methods in few org.apache.atlas.model package classes can be moved to > an utility class - to keep the model classes focused on capturing the data > structure used in REST APIs. For example, following methods can be moved to > AtlasTypeUtil: > {noformat} > AtlasEntity.isAssigned() > AtlasEntity.isUnassigned() > AtlasEntity.getObjectId() > AtlasEntityHeader.getObjectId() > {noformat} > This will also help keep the generated REST API documentation free of these > helper methods (which get interpreted as fields by the doc generator). -- This message was sent by Atlassian JIRA (v6.3.15#6346)