1 /* 2 * This file is a part of CAST project. 3 * (c) Copyright 2007, AGH University of Science & Technology 4 * https://caribou.iisg.agh.edu.pl/trac/cast 5 * 6 * Licensed under the Eclipse Public License, Version 1.0 (the "License"). 7 * You may not use this file except in compliance with the License. 8 * You may obtain a copy of the License at 9 * http://www.eclipse.org/legal/epl-v10.html 10 */ 11 /* 12 * File: AttributeLoader.java 13 * Created: 2007-10-22 14 * Author: apohllo 15 * $Id: AttributeLoader.java 2232 2009-01-04 22:59:53Z apohllo $ 16 */ 17 18 package pl.edu.agh.cast.model.mapper; 19 20 import java.util.List; 21 22 /** 23 * This interface is used in class-specific attribute loading. 24 * 25 * Implemnting classes must provide construcotr with one parameter which is the object for which the specific load 26 * method is invoked. 27 * 28 * @author AGH CAST Team 29 * 30 */ 31 public interface AttributeLoader { 32 /** 33 * Create attribute based on base model node and collection of its links. 34 * 35 * @param phoneNode 36 * The node 37 * @param attrLinks 38 * The collection of node links 39 */ 40 public void loadAttribute(Node phoneNode, List<Link> attrLinks); 41 42 }