public class IdSpecification extends ObjectSpecification
| Modifier and Type | Field and Description |
|---|---|
private long |
_id |
private static Map<Long,Long> |
_idCache
Dieser Cache ist static und wird für alle Verbindungen benutzt, kann also höchstwahrscheinlich viel Unsinn enthalten.
|
private ManagerInterface |
_manager |
| Constructor and Description |
|---|
IdSpecification(long id,
ManagerInterface manager)
Erstellt eine IdSpecification
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
SystemObject |
getObject(DataModel dataModel) |
int |
hashCode() |
boolean |
matches(SystemObject object) |
private boolean |
matchesProperties(ExchangeProperties props) |
String |
toString() |
createprivate final long _id
private static final Map<Long,Long> _idCache
private ManagerInterface _manager
public IdSpecification(long id,
ManagerInterface manager)
id - Idmanager - public SystemObject getObject(DataModel dataModel)
getObject in class ObjectSpecificationprivate boolean matchesProperties(ExchangeProperties props)
public boolean matches(SystemObject object)
matches in class ObjectSpecificationpublic boolean equals(Object o)
equals in class ObjectSpecificationpublic int hashCode()
hashCode in class ObjectSpecificationpublic String toString()
toString in class ObjectSpecification