P
- public final class SimpleCyProperty<P> extends Object implements CyProperty<P>
CyProperty.SavePolicy
Modifier and Type | Field and Description |
---|---|
static String |
CORE_PROPRERTY_NAME
Core Cytoscape Property (Cytoscape System Property)
|
DEFAULT_PROPS_CONFIG_DIR
Constructor and Description |
---|
SimpleCyProperty(String name,
P properties,
Class<? extends P> propertyType,
CyProperty.SavePolicy savePolicy)
Properties is a non-null Properties object that this CyProperty object
should encapsulate.
|
Modifier and Type | Method and Description |
---|---|
String |
getName()
Returns the name of the CyProperty.
|
P |
getProperties()
Return a property object.
|
Class<? extends P> |
getPropertyType()
Returns the type of the property object.
|
CyProperty.SavePolicy |
getSavePolicy()
Returns the
CyProperty.SavePolicy of the CyProperty. |
String |
toString() |
public static final String CORE_PROPRERTY_NAME
public SimpleCyProperty(String name, P properties, Class<? extends P> propertyType, CyProperty.SavePolicy savePolicy)
properties
- The non-null Properties object this CyProperty object
should encapsulate. Throws NullPointerException if Properties is null.savePolicy
- the CyProperty.SavePolicy
of this CyProperty object.public String getName()
getName
in interface CyProperty<P>
public P getProperties()
getProperties
in interface CyProperty<P>
public CyProperty.SavePolicy getSavePolicy()
CyProperty.SavePolicy
of the CyProperty.getSavePolicy
in interface CyProperty<P>
CyProperty.SavePolicy
of the CyProperty.public Class<? extends P> getPropertyType()
getPropertyType
in interface CyProperty<P>
Copyright 2011-2015 Cytoscape Consortium. All rights reserved.