193194195196197198199200
public JcrDocument asDocument() { if (isDocument()) { return (JcrDocument) this; } else { throw new CmisConstraintException("Not a document: " + this); } }