You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by "Madhan Neethiraj (JIRA)" <ji...@apache.org> on 2017/02/18 17:30:44 UTC

[jira] [Created] (ATLAS-1568) Move helper methods from org.apache.atlas.model package classes into an utility class

Madhan Neethiraj created ATLAS-1568:
---------------------------------------

             Summary: 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


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)