Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

get all attribute names from a class descriptor #59

Open
rubberbandman62 opened this issue Jun 14, 2016 · 2 comments
Open

get all attribute names from a class descriptor #59

rubberbandman62 opened this issue Jun 14, 2016 · 2 comments

Comments

@rubberbandman62
Copy link

@Override
public List<String> getAllAttributeNames() {
    ArrayList<String> names = new ArrayList<String>();
    for (final AttributeDescriptor attributeDescriptor : getAttributeDescriptorList()) {
        names.add(attributeDescriptor.getName());
    }

    return names;
}   
@rubberbandman62
Copy link
Author

Label: enhancement
Priority: 2

@rubberbandman62
Copy link
Author

as BuildUpClassDescriptor implements the ClassDescriptor interface, this must also be modified:

/**
* @return List of the names of all attributes
*/
List getAllAttributeNames();

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant