Class ARDAndProfInfo
- java.lang.Object
-
- fi.tut.mei.resdescapi.rescatapi.model.DescriptionInfo
-
- fi.tut.mei.resdescapi.rescatapi.model.DescriptionInfoWithCategories
-
- fi.tut.mei.resdescapi.rescatapi.model.ARDAndProfInfo
-
- All Implemented Interfaces:
Cloneable
public class ARDAndProfInfo extends DescriptionInfoWithCategories implements Cloneable
Data container for descriptive information about an ARD- Author:
- Niko Siltala
-
-
Field Summary
Fields Modifier and Type Field Description protected Set<InterfaceStdInfo>
interfaceStdList
Collection of InterfaceStandards-
Fields inherited from class fi.tut.mei.resdescapi.rescatapi.model.DescriptionInfoWithCategories
categoriesList
-
-
Constructor Summary
Constructors Constructor Description ARDAndProfInfo()
Default constructorARDAndProfInfo(String id, String guid, String name, String desc)
Constructor for assigning information at construction.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
addInterfaceStdInfo(InterfaceStdInfo interfaceStdInfo)
Adds new interfaceStdInfo to this container's collectionboolean
addProfileInfo(ProfInfo profInfo)
Adds new profileInfo to this container's collectionvoid
clearProfInfoList()
Clears ProfileInfoListObject
clone()
String
getFileName()
Set<InterfaceStdInfo>
getInterfaceStdList()
Map<String,ProfInfo>
getProfInfoList()
void
setFileName(String fileName)
void
setInterfaceStdList(Set<InterfaceStdInfo> interfaceStdList)
void
setProfInfoList(Map<String,ProfInfo> profInfoList)
String
toString()
-
Methods inherited from class fi.tut.mei.resdescapi.rescatapi.model.DescriptionInfoWithCategories
addCategoryInfo, getCategoriesList, setCategoriesList
-
Methods inherited from class fi.tut.mei.resdescapi.rescatapi.model.DescriptionInfo
equals, getDescription, getGuid, getId, getName, hashCode, setDescription, setGuid, setId, setName
-
-
-
-
Field Detail
-
interfaceStdList
protected Set<InterfaceStdInfo> interfaceStdList
Collection of InterfaceStandards
-
-
Method Detail
-
clone
public Object clone() throws CloneNotSupportedException
- Overrides:
clone
in classDescriptionInfoWithCategories
- Throws:
CloneNotSupportedException
-
getFileName
public String getFileName()
- Returns:
- the fileName
-
setFileName
public void setFileName(String fileName)
- Parameters:
fileName
- the fileName to set
-
setProfInfoList
public void setProfInfoList(Map<String,ProfInfo> profInfoList)
- Parameters:
profInfoList
- the profInfoList to set
-
clearProfInfoList
public void clearProfInfoList()
Clears ProfileInfoList
-
addProfileInfo
public boolean addProfileInfo(ProfInfo profInfo)
Adds new profileInfo to this container's collection- Parameters:
profInfo
- Profile information element to be added- Returns:
- true if it was added, false if not (e.g. it was existing there already).
-
getInterfaceStdList
public Set<InterfaceStdInfo> getInterfaceStdList()
- Returns:
- the interfaceStdList
-
setInterfaceStdList
public void setInterfaceStdList(Set<InterfaceStdInfo> interfaceStdList)
- Parameters:
interfaceStdList
- the interfaceStdList to set
-
addInterfaceStdInfo
public boolean addInterfaceStdInfo(InterfaceStdInfo interfaceStdInfo)
Adds new interfaceStdInfo to this container's collection- Parameters:
interfaceStdInfo
- information about this category- Returns:
- true if it was added, false if not (e.g. it was existing there already).
-
toString
public String toString()
- Overrides:
toString
in classDescriptionInfo
-
-