Interface AttributeRepository
-
- All Known Implementing Classes:
AttributeRepositoryImpl
public interface AttributeRepositoryAn interface for a repository of attribute definitions.- Author:
- Martin Lindström (martin.lindstrom@litsec.se)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<String>getAttributeNames()Returns a list of all attribute names that are stored in the repository.AttributeTemplategetByFriendlyName(String friendlyName)Returns theAttributeTemplatefor the given friendly name.AttributeTemplategetByName(String name)Returns theAttributeTemplatefor the given attribute name.
-
-
-
Method Detail
-
getAttributeNames
List<String> getAttributeNames()
Returns a list of all attribute names that are stored in the repository.- Returns:
- a list of attribute names
-
getByName
AttributeTemplate getByName(String name)
Returns theAttributeTemplatefor the given attribute name.- Parameters:
name- the attribute name- Returns:
- the matching
AttributeTemplateornullif no match exists
-
getByFriendlyName
AttributeTemplate getByFriendlyName(String friendlyName)
Returns theAttributeTemplatefor the given friendly name.- Parameters:
friendlyName- the attribute friendly name- Returns:
- the matching
AttributeTemplateornullif no match exists
-
-