public final class SbbPartID extends ComponentID
The SbbPartID class encapsulates SBB Part component identity.
An SbbPartID object is also known as an SBB part identifier.
| Constructor and Description |
|---|
SbbPartID(String name,
String vendor,
String version)
Create a new SBB part component identifier.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
clone()
Create a copy of this SBB part component identifier.
|
int |
compareTo(Object obj) |
equals, getName, getVendor, getVersion, hashCode, toStringpublic SbbPartID(String name, String vendor, String version)
Create a new SBB part component identifier.
name - the name of the SBB part component.vendor - the vendor of the SBB part component.version - the version of the SBB part component.NullPointerException - if any argument is null.public final int compareTo(Object obj)
compareTo in interface ComparablecompareTo in class ComponentIDpublic Object clone()
Create a copy of this SBB part component identifier.
clone in class ObjectObject.clone()