ConditionImpl extends RelationalChildRestrictedObject implements Condition { @Override public boolean isConstraint( final UnitOfWork uow ) throws KException { return getObjectProperty(uow, PropertyValueType.BOOLEAN, "isConstraint", VdbLexicon.DataRole.Permission.Condition.CONSTRAINT); } ConditionImpl( final UnitOfWork uow,
                          final Repository repository,
                          final String workspacePath ); @Override KomodoType getTypeIdentifier(UnitOfWork uow); @Override Permission getParent( final UnitOfWork transaction ); @Override int getTypeId(); @Override boolean isConstraint( final UnitOfWork uow ); @Override void setConstraint( final UnitOfWork uow,
                               final boolean newConstraint );  }
@Test public void shouldHaveConstraintDefaultValueAfterConstruction() throws Exception { assertThat( this.condition.isConstraint( getTransaction() ), is( Condition.DEFAULT_CONSTRAINT ) ); }