public class IdSpecification extends ObjectSpecification
Die IdSpecification wählt Systemobjekte aus, die entweder die angenommene Id haben oder von einem Objekt kopiert wurden, das diese Id hat.
| Constructor and Description |
|---|
IdSpecification(long id,
ManagerInterface manager)
Erstellt eine IdSpecification
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
SystemObject |
getObject(DataModel dataModel) |
int |
hashCode() |
boolean |
matches(SystemObject object) |
java.lang.String |
toString() |
createpublic IdSpecification(long id,
ManagerInterface manager)
Erstellt eine IdSpecification
id - Idmanager - public SystemObject getObject(DataModel dataModel)
getObject in class ObjectSpecificationpublic boolean matches(SystemObject object)
matches in class ObjectSpecificationpublic boolean equals(java.lang.Object o)
equals in class ObjectSpecificationpublic int hashCode()
hashCode in class ObjectSpecificationpublic java.lang.String toString()
toString in class ObjectSpecification