License | BSD-style |
---|---|
Maintainer | Vincent Hanquez <vincent@snarc.org> |
Stability | experimental |
Portability | unknown |
Safe Haskell | Safe-Inferred |
Language | Haskell98 |
Synopsis
- type OID = [Integer]
- class OIDable a where
- getObjectID :: a -> OID
- class OIDNameable a where
- fromObjectID :: OID -> Maybe a
Documentation
classes
class OIDable a where Source #
Class of things that have an Object ID
getObjectID :: a -> OID Source #
return the object ID of an Object from the ObjectIdentifiable class.
class OIDNameable a where Source #
Class of things that can be named by Object ID
fromObjectID :: OID -> Maybe a Source #
Try to convert an OID into an Object