@Override public JobConfiguration getJobConfiguration( int jobId ) { return jobConfigurationStore.get( jobId ); }
@Override public IdentifiableObject getObject( int id, String simpleClassName ) { for ( IdentifiableObjectStore<? extends IdentifiableObject> objectStore : identifiableObjectStores ) { if ( simpleClassName.equals( objectStore.getClazz().getSimpleName() ) ) { return objectStore.get( id ); } } return null; }
return store.get( Integer.valueOf( value ) );
@Override public IndicatorGroupSet getIndicatorGroupSet( int id ) { return indicatorGroupSetStore.get( id ); }
@Override public PredictorGroup getPredictorGroup( int id ) { return predictorGroupStore.get( id ); }
@Override public TrackedEntityType getTrackedEntityType( int id ) { return trackedEntityTypeStore.get( id ); }
@Override public LegendSet getLegendSet( int id ) { return legendSetStore.get( id ); }
@Override public Report getReport( int id ) { return reportStore.get( id ); }
@Override public DataElementGroup getDataElementGroup( int id ) { return dataElementGroupStore.get( id ); }
@Override public ValidationRuleGroup getValidationRuleGroup( int id ) { return validationRuleGroupStore.get( id ); }
@Override public ProgramTrackedEntityAttributeGroup getProgramTrackedEntityAttributeGroup( int id ) { return attributeGroupStore.get( id ); }
@Override public OptionSet getOptionSet( int id ) { return optionSetStore.get( id ); }
@Override public Constant getConstant( int constantId ) { return constantStore.get( constantId ); }
@Override public UserGroup getUserGroup( int userGroupId ) { return userGroupStore.get( userGroupId ); }
@Override public ProgramIndicatorGroup getProgramIndicatorGroup( int id ) { return programIndicatorGroupStore.get( id ); }
@Override public IndicatorType getIndicatorType( int id ) { return indicatorTypeStore.get( id ); }
@Override public IndicatorGroup getIndicatorGroup( int id ) { return indicatorGroupStore.get( id ); }
@Override @SuppressWarnings( "unchecked" ) public <T extends IdentifiableObject> T get( Class<T> clazz, int id ) { IdentifiableObjectStore<IdentifiableObject> store = getIdentifiableObjectStore( clazz ); if ( store == null ) { return null; } return (T) store.get( id ); }