Class orion.metatype.MetaTypeRegistry
				
				
			
				Maintains a registry of metatype information.
				
				
					
Defined in:  </shared/eclipse/e4/orion/I201404012230/bundles/org.eclipse.orion.client.core/web/orion/metatype.js>.
				
			
| Constructor Attributes | Constructor Name and Description | 
|---|---|
| 
							 
								orion.metatype.MetaTypeRegistry(serviceRegistry)
							 
							A MetaTypeRegistry provides access to metatype information from the service registry. 
						 | 
					
| Method Attributes | Method Name and Description | 
|---|---|
| 
								 getObjectClassDefinition(classId)
								 
								Returns the Object Class Definition with the given ID. 
							 | 
						|
| 
								
								 Returns the Object Class Definition for a given PID. 
							 | 
						
					Class Detail
				
				
				
						orion.metatype.MetaTypeRegistry(serviceRegistry)
				
				
				
					A MetaTypeRegistry provides access to metatype information from the service registry.
					
				
				
				
				
				
					
						- Parameters:
 - {orion.serviceRegistry.ServiceRegistry} serviceRegistry
 - The service registry to monitor.
 
					Method Detail
				
				
					 
					
					
					{orion.metatype.ObjectClassDefinition}
					getObjectClassDefinition(classId)
					
					
					
						Returns the Object Class Definition with the given ID.
						
						
					
					
					
					
						
							- Parameters:
 - {String} classId
 - The Object Class Definition ID to look up.
 
- Returns:
 - {orion.metatype.ObjectClassDefinition} The OCD or 
nullif no OCD with the given ID exists. 
					
					{orion.metatype.ObjectClassDefinition}
					getObjectClassDefinitionForPid(pid)
					
					
					
						Returns the Object Class Definition for a given PID.
						
						
					
					
					
					
						
							- Parameters:
 - {String} pid
 - The PID to look up.
 
- Returns:
 - {orion.metatype.ObjectClassDefinition} The OCD, or 
nullif no OCD has been designated for the given PID.