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() |
create
public IdSpecification(long id, ManagerInterface manager)
Erstellt eine IdSpecification
id
- Idmanager
- public SystemObject getObject(DataModel dataModel)
getObject
in class ObjectSpecification
public boolean matches(SystemObject object)
matches
in class ObjectSpecification
public boolean equals(java.lang.Object o)
equals
in class ObjectSpecification
public int hashCode()
hashCode
in class ObjectSpecification
public java.lang.String toString()
toString
in class ObjectSpecification