private ArtifactType(ArtifactTypeEnum artifactType, String mimeType) {
        setArtifactType(artifactType);
        // Might need something more interesting than this in the future.
        if (mimeType == null) {
            if (artifactType == ArtifactTypeEnum.Document || artifactType == ArtifactTypeEnum.ExtendedDocument) {
                mimeType = "application/octet-stream"; //$NON-NLS-1$
            } else {
                mimeType = "application/xml"; //$NON-NLS-1$
            }
        }
        setMimeType(mimeType);
    }