java.lang.Object
com.genologics.ri.reagenttype.SpecialType
- All Implemented Interfaces:
Serializable
Special-type is a child element of reagent type and provides a name and
attributes describing a special type of reagent type.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe list of attributes for this special type.protected StringThe name of the special type. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds an attribute to this special type.voidaddAttribute(String name, String value) Adds an attribute to this special type using name and value.Gets the list of attributes for this special type.getName()Gets the name of the special type.voidSets the name of the special type.
-
Field Details
-
attributes
The list of attributes for this special type. -
name
The name of the special type.
-
-
Constructor Details
-
SpecialType
public SpecialType()Default constructor. -
SpecialType
Constructor with name.- Parameters:
name- The name of the special type.
-
-
Method Details
-
getAttributes
Gets the list of attributes for this special type.- Returns:
- A list of attributes.
-
addAttribute
Adds an attribute to this special type.- Parameters:
a- The attribute to add.
-
addAttribute
Adds an attribute to this special type using name and value.- Parameters:
name- The name of the attribute.value- The value of the attribute.
-
getName
Gets the name of the special type.- Returns:
- The special type name.
-
setName
Sets the name of the special type.- Parameters:
value- The special type name.
-