Dekoh platform API

dekoh.portal.fwk.persistence
Class DIOProperty

java.lang.Object
  extended by dekoh.portal.fwk.persistence.DIOProperty

public class DIOProperty
extends Object

A property that can be added to DigitalObject as well as to DioCollection.

Since:
Oct 9, 2006

Field Summary
static String FIND_BY_PROPERTY
           
 
Constructor Summary
protected DIOProperty()
           
  DIOProperty(Map.Entry entry)
           
  DIOProperty(String name, String value)
           
 
Method Summary
 boolean equals(Object o)
           
static List findPropertyValues(String propertyName, DIOEntityManager em)
           
 DigitalObject getDigitalObject()
           
 int getId()
           
 String getName()
           
 String getValue()
           
 int hashCode()
           
 void setDigitalObject(DigitalObject digitalObject)
           
 void setName(String name)
           
 void setValue(String value)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FIND_BY_PROPERTY

public static final String FIND_BY_PROPERTY
See Also:
Constant Field Values
Constructor Detail

DIOProperty

protected DIOProperty()

DIOProperty

public DIOProperty(Map.Entry entry)

DIOProperty

public DIOProperty(String name,
                   String value)
Method Detail

getDigitalObject

public DigitalObject getDigitalObject()

setDigitalObject

public void setDigitalObject(DigitalObject digitalObject)

getId

public int getId()

getName

public String getName()

setName

public void setName(String name)

getValue

public String getValue()

setValue

public void setValue(String value)

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

findPropertyValues

public static List findPropertyValues(String propertyName,
                                      DIOEntityManager em)

Dekoh platform API

© 2009 Pramati Technologies - Dekoh - Portal for Developers