public void addElementToTempGroup(String tempGroup, ElementSymbol symbol) { TempMetadataID groupID = tempGroups.get(tempGroup); if(groupID != null) { groupID.addElement((TempMetadataID)symbol.getMetadataID()); } }
public void addElementToTempGroup(String tempGroup, ElementSymbol symbol) { TempMetadataID groupID = tempGroups.get(tempGroup); if(groupID != null) { groupID.addElement((TempMetadataID)symbol.getMetadataID()); } }
public void addElementToTempGroup(String tempGroup, ElementSymbol symbol) { TempMetadataID groupID = tempGroups.get(tempGroup); if(groupID != null) { groupID.addElement((TempMetadataID)symbol.getMetadataID()); } }
/** * Add a element symbol to the already created temp group. If added successfully then it will * return the metadata id for the added element. otherwise it will return null. * @param tempGroup - temp group name * @param symbol - element to be added * @return metadata id. */ public TempMetadataID addElementSymbolToTempGroup(String tempGroup, Expression symbol) { TempMetadataID groupID = this.tempGroups.get(tempGroup); if (groupID != null) { TempMetadataID elementID = createElementSymbol(tempGroup, symbol, false); groupID.addElement(elementID); return elementID; } return null; }
/** * Add a element symbol to the already created temp group. If added successfully then it will * return the metadata id for the added element. otherwise it will return null. * @param tempGroup - temp group name * @param symbol - element to be added * @return metadata id. */ public TempMetadataID addElementSymbolToTempGroup(String tempGroup, Expression symbol) { TempMetadataID groupID = this.tempGroups.get(tempGroup); if (groupID != null) { TempMetadataID elementID = createElementSymbol(tempGroup, symbol, false); groupID.addElement(elementID); return elementID; } return null; }
/** * Add a element symbol to the already created temp group. If added successfully then it will * return the metadata id for the added element. otherwise it will return null. * @param tempGroup - temp group name * @param symbol - element to be added * @return metadata id. */ public TempMetadataID addElementSymbolToTempGroup(String tempGroup, Expression symbol) { TempMetadataID groupID = this.tempGroups.get(tempGroup); if (groupID != null) { TempMetadataID elementID = createElementSymbol(tempGroup, symbol, false); groupID.addElement(elementID); return elementID; } return null; }