@Override
    public AssetKey getKey() {
        return key;
    }
Sets the user-defined name of the material.
The name is not the same as the asset name.
It can be null, and there is no guarantee of its uniqueness.

@param name The name of the material.
jme3-core/src/main/java/com/jme3/material/Material.java