org.jtheque.primary.od.impl
Class PrimarySimpleDataImpl
java.lang.Object
org.jtheque.core.managers.persistence.AbstractEntity
org.jtheque.primary.od.impl.abstraction.AbstractData
org.jtheque.primary.od.impl.SimpleDataImpl
org.jtheque.primary.od.impl.PrimarySimpleDataImpl
- All Implemented Interfaces:
- Comparable<org.jtheque.core.managers.persistence.able.Entity>, org.jtheque.core.managers.persistence.able.Entity, Data, PrimaryData, PrimarySimpleData, SimpleData, TreeElement
public final class PrimarySimpleDataImpl
- extends SimpleDataImpl
- implements PrimarySimpleData
A primary simple data implementation.
- Author:
- Baptiste Wicht
Fields inherited from class org.jtheque.core.managers.persistence.AbstractEntity |
HASHCODE_PRIME |
Methods inherited from class org.jtheque.primary.od.impl.abstraction.AbstractData |
add, addAll, clear, getChild, getChildCount, getElementName, getIcon, indexOf, isCategory, isLeaf, isRoot |
Methods inherited from class org.jtheque.core.managers.persistence.AbstractEntity |
compareTo, getId, getTemporaryContext, isSaved, restoreMemento, saveToMemento, setId |
Methods inherited from interface org.jtheque.core.managers.persistence.able.Entity |
getDisplayableText, getId, getTemporaryContext, isSaved, restoreMemento, saveToMemento, setId |
Methods inherited from interface org.jtheque.primary.view.impl.models.tree.TreeElement |
add, addAll, clear, getChild, getChildCount, getElementName, getIcon, indexOf, isCategory, isLeaf, isRoot |
PrimarySimpleDataImpl
public PrimarySimpleDataImpl(SimpleData.DataType type,
String primaryImpl)
- Construct a new PrimarySimpleDataImpl.
- Parameters:
type
- The simple data type.primaryImpl
- The primary implementation.
getPrimaryImpl
public String getPrimaryImpl()
- Description copied from interface:
PrimaryData
- Return the primary implementation of this data.
- Specified by:
getPrimaryImpl
in interface PrimaryData
- Returns:
- The primary implementation of this data.
setPrimaryImpl
public void setPrimaryImpl(String impl)
- Description copied from interface:
PrimaryData
- Set the primary implementation of the data.
- Specified by:
setPrimaryImpl
in interface PrimaryData
- Parameters:
impl
- The primary impl of the data.
hashCode
public int hashCode()
- Overrides:
hashCode
in class SimpleDataImpl
equals
public boolean equals(Object obj)
- Overrides:
equals
in class SimpleDataImpl
Copyright © 2010 JTheque. All Rights Reserved.