src/main/java/org/efaps/ui/wicket/models/objects/UICmdObject.java
public static IModel<ICmdUIObject> getModel(final Long _cmdId,
                                                final Instance _instance)
    {
        return Model.<ICmdUIObject>of(UICmdObject.get(_cmdId).setInstance(_instance));
    }
public static IModel<ICmdUIObject> getModel(final Long _cmdId,
                                                final Instance _instance)
    {
        return Model.<ICmdUIObject>of(UICmdObject.get(_cmdId).setInstance(_instance));
    }
public static IModel < ICmdUIObject > getModel ( final Long _cmdId , final Instance _instance ) { return Model . < ICmdUIObject > of ( UICmdObject . get ( _cmdId ) . setInstance ( _instance ) ) ; }
Gets the model.

@param _cmdId the cmd id
@param _instance the instance
@return the model
Gets the model .