
de.tsl2.nano.structure.Cover Maven / Gradle / Ivy
/*
* File: $HeadURL$
* Id : $Id$
*
* created by: Thomas Schneider, Thomas Schneider
* created on: Dec 7, 2012
*
* Copyright: (c) Thomas Schneider 2012, all rights reserved
*/
package de.tsl2.nano.structure;
import java.io.Serializable;
/**
* Technical base definition to enhance a {@link #content} through this cover. Extending properties are defined by the
* {@link #descriptor}. May be used as base for Wrappers, Pointers or Connections.
*
* Implementing all java-standard interfaces like {@link Serializable}, {@link Comparable}, {@link Cloneable} and the
* methods {@link Object#hashCode()}, {@link Object#equals(Object)}, you may use this class to extend your class with
* some properties (defined by the descriptor).
*
* An example use case would be to add a weight to your class, using that weight to be sorted and compared.
*
* TODO: create interfaces for 'Wrapper+Source' or 'Pointer+Destination', 'Delegator+Source', 'Extender+Base',
* 'Hull+Core', 'Cover+Core'
*
*
* @author Thomas Schneider, Thomas Schneider
* @version $Revision$
*/
public class Cover, D extends Comparable super D>> implements
Comparable
© 2015 - 2025 Weber Informatics LLC | Privacy Policy