org.weda.store.impl
Class ObjectSourceConstraintImpl

java.lang.Object
  extended by org.weda.store.impl.ObjectSourceConstraintImpl
All Implemented Interfaces:
ObjectSourceConstraint

public class ObjectSourceConstraintImpl
extends java.lang.Object
implements ObjectSourceConstraint

Author:
Mikhail Titov

Constructor Summary
ObjectSourceConstraintImpl()
           
 
Method Summary
 java.lang.String getPropertyName()
          Имя свойства на которое распространяется ограничение.
 java.lang.Object getValue()
          Метод возвращает значение свойства.
 void setPropertyName(java.lang.String propertyName)
           
 void setValue(java.lang.Object value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ObjectSourceConstraintImpl

public ObjectSourceConstraintImpl()
Method Detail

getPropertyName

public java.lang.String getPropertyName()
Description copied from interface: ObjectSourceConstraint
Имя свойства на которое распространяется ограничение.

Specified by:
getPropertyName in interface ObjectSourceConstraint

setPropertyName

public void setPropertyName(java.lang.String propertyName)

getValue

public java.lang.Object getValue()
Description copied from interface: ObjectSourceConstraint
Метод возвращает значение свойства. Во время фильтрации будут отбираться только те объекты у которых значение свойства ObjectSourceConstraint.getPropertyName() равно значению. При добавлении нового объекта значение свойства принудительно будет установлено в значение.

Specified by:
getValue in interface ObjectSourceConstraint

setValue

public void setValue(java.lang.Object value)


Copyright © 2005-2006 . All Rights Reserved.