Stores the {@link PDMDefinition} in the cache by its id,
major version and minor version, unless the id is 0

C# |
public virtual PDMDefinition put( PDMDefinition def )

- def (PDMDefinition)
- the definition to store

the stored {@link PDMDefinition} or null if it could not be added