Modelle, Binden an Eigenschaften

Model I

Model II

PropertyModel

CompoundPropertyModel I

CompoundPropertyModel II

Detachable Models

Beispiel LoadableDetachableModel

    public class CarModel extends LoadableDetachableModel<Car> {

        private final int id;
    
        public CarModel(int id) {
            this.id = id;
        }
    
        @Override
        protected Car load() {
            return CarRepository.loadCar(id);
        }
    
    }

Verkettung von Modellen

CompoundPropertyModel in ListViews: PropertyListView

Umgang mit serialVersionUID I

Umgang mit serialVersionUID II

Weitere Informationen

Ralf Ebert

Ralf Ebert is an independent software developer, technical writer and trainer. He makes apps for Mac OS X and iOS and builds software solutions for companies using Eclipse RCP and Ruby on Rails. He offers training courses for software developers and writes books and articles about software development.