122123124125126127128129130131132
if (!obj.hasContentModel( Models.SERVICE_DEFINITION_3_0)) { throw new GeneralException("Not a service definition object: " + pid); } else { return new SimpleServiceDefinitionReader(null, this, null, null, null, obj);
269270271272273274275276277278279
} } protected ServiceDefinitionReader getServiceDefinitionReader(DigitalObject obj) throws Exception { return new SimpleServiceDefinitionReader(null, null, null, null, null, obj);