Logo
Distributed Genetic Programming Framework
print print

File org.sfc.meta.PropertySubSet.java

Here you can find all the information about the file org.sfc.meta.PropertySubSet.java. You may explore it here or download it onto your local disk.
/*
 * Copyright (c) 2006 Thomas Weise
 *
 * E-Mail           : tweise@gmx.de
 * Creation Date    : 2006-05-04 06:40:30
 * Original Filename: org.sfc.meta.PropertySubSet.java
 * Version          : 1.0.1
 * Last modification: 2006-05-28
 *                by: Thomas Weise
 *
 * License          : GNU LESSER GENERAL PUBLIC LICENSE
 *                    Version 2.1, February 1999
 *                    You should have received a copy of this license along
 *                    with this library; if not, write to the Free Software
 *                    Foundation, Inc., 59 Temple Place, Suite 330, Boston,
 *                    MA 02111-1307, USA or download the license under
 *                    http://www.gnu.org/copyleft/lesser.html.
 *
 * Warranty         : This software is provided "as is" without any
 *                    warranty; without even the implied warranty of
 *                    merchantability or fitness for a particular purpose.
 *                    See the Gnu Lesser General Public License for more
 *                    details.
 */


package org.sfc.meta;

import java.util.List;

import org.sfc.collections.ArrayCollection;
import org.sfc.utils.Typesafe;

/**
 * A property sub set holds all the property ports of one property group
 * that belong to a property set.
 *
 * @author Thomas Weise
 */

public final  class PropertySubSet extends ArrayCollection<PropertyPort<?>>
  {
/**
 * The serial version uid.
 */

  private static final long serialVersionUID = 1;
/**
 * The property class.
 */

  private static final  Class<PropertyPort<?>> CLS =
              Typesafe.cast(PropertyPort.class);
  
/**
 * The property group this subset belongs to.
 */

          final PropertyGroup   m_group ;
/**
 * The owning property set.
 */

  private final PropertySet     m_ps;

/**
 * Create a new property subset.
 * @param p_group       The property group this subset belongs to.
 * @param p_ps          The owning property set.
 * @param p_properties  The properties.
 */

  PropertySubSet  (final PropertyGroup          p_group,
                   final PropertySet            p_ps,
                   final List<PropertyPort<?>>  p_properties)
    {
    super(p_properties, CLS);
    this.m_group      = p_group;
    this.m_ps         = p_ps;
    }
  
/**
 * Obtain the property group this property subset contains the properties
 * of.
 * @return  The property group this property subset belongs to.
 */

  public  final PropertyGroup get_group()
    {
    return this.m_group;
    }
  
/**
 * Obtain the owning property set.
 * @return  The owning property set.
 */

  public  final PropertySet   get_property_set()
    {
    return this.m_ps;
    }
  }

File Information:

file name:PropertySubSet.java
package:org.sfc.meta
qualified name:org.sfc.meta.PropertySubSet.java
file type:Java Source File
download location:download http://dgpf.sourceforge.net/source/org/sfc/meta/PropertySubSet.java
size:2.708 KB (2774 B)
uploaded: 2015-07-22 04:11:12 GMT+0000
last update: 2006-05-28 13:56:12 GMT+0000
last access: 2018-01-23 15:43:22 GMT+0000

statistics online since 2006-01-02.   RSS Feed
Contact us by sending an email to tweise@gmx.de to receive further information, to report errors, or to join our project.
All content on this site (http://dgpf.sourceforge.net/) is LGPL-licensed.
http://dgpf.sourceforge.net/scripts/source/source.php last modified at 2015-07-22 04:10:53 GMT+0000 served at 2018-01-23 15:43:22 GMT+0000.
Valid CSS Valid XHTML 1.1
Valid RSS SourceForge.net Logo