├── src ├── test │ ├── resources │ │ ├── test.csv │ │ ├── TestImage.PNG │ │ └── TestPicture2.JPG │ └── java │ │ └── xdev │ │ ├── test │ │ └── UITest.java │ │ ├── util │ │ └── dummies │ │ │ ├── RichPerson.java │ │ │ └── StringComparer.java │ │ └── lang │ │ └── AssertCopyable.java └── main │ ├── resources │ └── xdev │ │ ├── ui │ │ ├── icons │ │ │ ├── first.gif │ │ │ ├── first.png │ │ │ ├── last.gif │ │ │ ├── last.png │ │ │ ├── next.gif │ │ │ ├── next.png │ │ │ ├── open.png │ │ │ ├── save.png │ │ │ ├── locked.png │ │ │ ├── visible.png │ │ │ ├── calendar.png │ │ │ ├── previous.gif │ │ │ ├── previous.png │ │ │ ├── unlocked.png │ │ │ ├── xdev_16x16.png │ │ │ ├── xdev_24x24.png │ │ │ ├── xdev_32x32.png │ │ │ ├── xdev_48x48.png │ │ │ ├── xdev_64x64.png │ │ │ ├── xdev_96x96.png │ │ │ ├── xdev_128x128.png │ │ │ └── xdev_256x256.png │ │ ├── ui_de.properties │ │ └── locking │ │ │ ├── ui_de.properties │ │ │ ├── icons │ │ │ └── info_icon.png │ │ │ └── ui.properties │ │ └── util │ │ └── common.colors │ └── java │ ├── xdev │ ├── util │ │ ├── logging │ │ │ └── package-info.java │ │ ├── systemproperty │ │ │ └── package-info.java │ │ ├── Comparer.java │ │ ├── auth │ │ │ ├── Authenticator.java │ │ │ └── Authentication.java │ │ ├── res │ │ │ ├── ResourceHandler.java │ │ │ └── DefaultResourceHandler.java │ │ └── DataSourceMetaData.java │ ├── ui │ │ ├── XdevScrollBarListener.java │ │ ├── XdevTabbedPaneSettings.java │ │ ├── DatePopupCustomizer.java │ │ ├── GridInfo.java │ │ ├── PopupHandler.java │ │ ├── laf │ │ │ ├── LookAndFeelExtension.java │ │ │ ├── LookAndFeel.java │ │ │ ├── AbstractLookAndFeel.java │ │ │ └── MetallLookAndFeel.java │ │ ├── tree │ │ │ ├── TreePopupHandler.java │ │ │ └── XdevTreeManager.java │ │ ├── LockingActivation.java │ │ ├── ClientPropertyAdapter.java │ │ ├── listbox │ │ │ └── ListModelWrapperLookup.java │ │ ├── table │ │ │ └── TableModelWrapperLookup.java │ │ ├── combobox │ │ │ └── ComboBoxModelWrapperLookup.java │ │ ├── paging │ │ │ └── ItemListPageControl.java │ │ ├── ItemListOwner.java │ │ ├── XdevToolBarSeparator.java │ │ ├── XdevPage.java │ │ ├── locking │ │ │ └── LockRenovator.java │ │ └── DatePopupOwner.java │ ├── io │ │ ├── ByteHolder.java │ │ ├── CharHolder.java │ │ └── event │ │ │ ├── SocketListener.java │ │ │ └── SocketEvent.java │ ├── db │ │ ├── JoinType.java │ │ └── locking │ │ │ ├── UserIdentifier.java │ │ │ ├── LockTimeoutEvent.java │ │ │ └── LockTimeoutListener.java │ └── lang │ │ ├── XdevObject.java │ │ ├── Prototype.java │ │ ├── Study.java │ │ └── Nullable.java │ └── com │ └── xdev │ └── jadoth │ ├── collections │ ├── XSet.java │ ├── MapEntryProviderEquality.java │ ├── ListAccessor.java │ ├── _intList.java │ ├── ListView.java │ ├── MapEntryProviderEqualityWeakKeyWeakValue.java │ ├── MapEntryProviderIdentityWeakKeyWeakValue.java │ ├── Sortable.java │ ├── MapEntryProvider.java │ └── Collecting.java │ ├── lang │ ├── aspects │ │ ├── AspectContext.java │ │ └── Aspect.java │ ├── Hasher.java │ ├── functional │ │ ├── Operation.java │ │ ├── _charOperation.java │ │ ├── _intOperation.java │ │ ├── Predicate.java │ │ ├── _intPredicate.java │ │ ├── Executing.java │ │ ├── Processable.java │ │ ├── controlflow │ │ │ ├── TExecuting.java │ │ │ ├── TProcessable.java │ │ │ └── _intControllingProcessor.java │ │ ├── aggregates │ │ │ └── Aggregate.java │ │ └── iterables │ │ │ └── RandomArrayIterator.java │ ├── reflection │ │ └── Instantiator.java │ ├── Equalator.java │ ├── reference │ │ ├── LinkingReference.java │ │ ├── _byteReference.java │ │ ├── _charReference.java │ │ ├── _longReference.java │ │ ├── _floatReference.java │ │ ├── _shortReference.java │ │ ├── _doubleReference.java │ │ └── _booleanReference.java │ ├── types │ │ ├── To_int.java │ │ ├── To_byte.java │ │ ├── To_char.java │ │ ├── To_long.java │ │ ├── To_float.java │ │ ├── To_short.java │ │ ├── ToByte.java │ │ ├── ToLong.java │ │ ├── ToNumber.java │ │ ├── ToBoolean.java │ │ ├── To_double.java │ │ ├── ToFloat.java │ │ ├── ToShort.java │ │ ├── ToDouble.java │ │ ├── To_boolean.java │ │ ├── ToInteger.java │ │ └── ToCharacter.java │ ├── HashEqualator.java │ └── Copyable.java │ ├── util │ ├── strings │ │ ├── Named.java │ │ └── AppendableAssembable.java │ └── file │ │ └── FileProcessor.java │ ├── codegen │ └── java │ │ ├── codeobjects │ │ ├── JavaCodeObject.java │ │ ├── JavaGenericParameter.java │ │ ├── JavaCodeObjectAttachment.java │ │ ├── JavaExpression.java │ │ ├── JavaThrowableType.java │ │ ├── JavaTypedValue.java │ │ ├── JavaAnnotatedElementDescription.java │ │ ├── JavaKeywordOwner.java │ │ ├── JavaStaticInitializer.java │ │ ├── JavaBlock.java │ │ ├── JavaObjectType.java │ │ ├── JavaParameter.java │ │ ├── JavaCompilationObjectAttachment.java │ │ ├── JavaAnnotatedElementDefinition.java │ │ ├── JavaArrayType.java │ │ ├── JavaCodeAssembable.java │ │ ├── JavaAnnotation.java │ │ ├── JavaConstructorDescription.java │ │ ├── JavaGenericParametrizableObject.java │ │ ├── JavaConstructorDefinition.java │ │ ├── JavaCodeHolder.java │ │ ├── JavaMethodDescription.java │ │ ├── JavaTypedCodeObject.java │ │ ├── JavaTypeMemberDefinition.java │ │ ├── JavaAccessibleObjectDefinition.java │ │ ├── JavaAccessibleObjectDescription.java │ │ ├── JavaTypeMemberDescription.java │ │ ├── JavaClassMemberDescription.java │ │ ├── JavaCallableObjectDescription.java │ │ ├── JavaCommentLine.java │ │ └── JavaClassMemberDefinition.java │ │ ├── JavaSerialVersionUIDGenerator.java │ │ └── JavaSourceDefinable.java │ ├── sqlengine │ ├── interfaces │ │ ├── QueryActionListener.java │ │ ├── ColumnQualifier.java │ │ ├── QueryEventPostExecution.java │ │ ├── QueryEventPreExecution.java │ │ ├── QueryEventSQLException.java │ │ └── AssembableSqlExpression.java │ ├── aspects │ │ ├── QueryPreAssemblyContext.java │ │ ├── QueryPostExecutionContext.java │ │ ├── QueryPreExecutionContext.java │ │ ├── QueryExecutionAspect.java │ │ └── QueryExecutionContext.java │ ├── types │ │ ├── TableReadingTableQuery.java │ │ ├── AssembableParamterizedQuery.java │ │ ├── ConditionalWritingTableQuery.java │ │ ├── TableReadingQuery.java │ │ ├── ConditionalTableReadingTableQuery.java │ │ └── ValueReadingQuery.java │ ├── internal │ │ ├── interfaces │ │ │ ├── SelectItem.java │ │ │ └── TableClause.java │ │ ├── ColumnValueTuple.java │ │ └── ColumnValueAssignment.java │ ├── dbms │ │ └── SQLFlagger.java │ ├── annotations │ │ └── ReferenceColumn.java │ └── exceptions │ │ └── NoDatabaseConnectionFoundException.java │ ├── criteria │ └── Criterion.java │ ├── identity │ ├── IdentityResolver.java │ ├── GenericIdentityResolver.java │ ├── IdentityReceivingContext.java │ └── IdentityContext.java │ ├── math │ └── IntCoordinateManipulator.java │ └── cql │ └── CqlAggregator.java ├── .gitattributes ├── .idea ├── codeStyles │ └── codeStyleConfig.xml ├── inspectionProfiles │ └── Project_Default.xml ├── saveactions_settings.xml └── checkstyle-idea.xml ├── SECURITY.md └── .github ├── dependabot.yml └── workflows └── test-deploy.yml /src/test/resources/test.csv: -------------------------------------------------------------------------------- 1 | abc;123;"a""q";"""""a";"aq""" 2 | ;2;;4; 3 | -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | # Auto detect text files and perform LF normalization 2 | * text=auto 3 | -------------------------------------------------------------------------------- /src/test/resources/TestImage.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xdev-software/xapi/HEAD/src/test/resources/TestImage.PNG -------------------------------------------------------------------------------- /src/test/resources/TestPicture2.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xdev-software/xapi/HEAD/src/test/resources/TestPicture2.JPG -------------------------------------------------------------------------------- /src/main/resources/xdev/ui/icons/first.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xdev-software/xapi/HEAD/src/main/resources/xdev/ui/icons/first.gif -------------------------------------------------------------------------------- /src/main/resources/xdev/ui/icons/first.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xdev-software/xapi/HEAD/src/main/resources/xdev/ui/icons/first.png -------------------------------------------------------------------------------- /src/main/resources/xdev/ui/icons/last.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xdev-software/xapi/HEAD/src/main/resources/xdev/ui/icons/last.gif -------------------------------------------------------------------------------- /src/main/resources/xdev/ui/icons/last.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xdev-software/xapi/HEAD/src/main/resources/xdev/ui/icons/last.png -------------------------------------------------------------------------------- /src/main/resources/xdev/ui/icons/next.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xdev-software/xapi/HEAD/src/main/resources/xdev/ui/icons/next.gif -------------------------------------------------------------------------------- /src/main/resources/xdev/ui/icons/next.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xdev-software/xapi/HEAD/src/main/resources/xdev/ui/icons/next.png -------------------------------------------------------------------------------- /src/main/resources/xdev/ui/icons/open.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xdev-software/xapi/HEAD/src/main/resources/xdev/ui/icons/open.png -------------------------------------------------------------------------------- /src/main/resources/xdev/ui/icons/save.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xdev-software/xapi/HEAD/src/main/resources/xdev/ui/icons/save.png -------------------------------------------------------------------------------- /src/main/resources/xdev/ui/icons/locked.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xdev-software/xapi/HEAD/src/main/resources/xdev/ui/icons/locked.png -------------------------------------------------------------------------------- /src/main/resources/xdev/ui/icons/visible.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xdev-software/xapi/HEAD/src/main/resources/xdev/ui/icons/visible.png -------------------------------------------------------------------------------- /src/main/resources/xdev/ui/ui_de.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xdev-software/xapi/HEAD/src/main/resources/xdev/ui/ui_de.properties -------------------------------------------------------------------------------- /src/main/resources/xdev/ui/icons/calendar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xdev-software/xapi/HEAD/src/main/resources/xdev/ui/icons/calendar.png -------------------------------------------------------------------------------- /src/main/resources/xdev/ui/icons/previous.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xdev-software/xapi/HEAD/src/main/resources/xdev/ui/icons/previous.gif -------------------------------------------------------------------------------- /src/main/resources/xdev/ui/icons/previous.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xdev-software/xapi/HEAD/src/main/resources/xdev/ui/icons/previous.png -------------------------------------------------------------------------------- /src/main/resources/xdev/ui/icons/unlocked.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xdev-software/xapi/HEAD/src/main/resources/xdev/ui/icons/unlocked.png -------------------------------------------------------------------------------- /src/main/resources/xdev/ui/icons/xdev_16x16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xdev-software/xapi/HEAD/src/main/resources/xdev/ui/icons/xdev_16x16.png -------------------------------------------------------------------------------- /src/main/resources/xdev/ui/icons/xdev_24x24.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xdev-software/xapi/HEAD/src/main/resources/xdev/ui/icons/xdev_24x24.png -------------------------------------------------------------------------------- /src/main/resources/xdev/ui/icons/xdev_32x32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xdev-software/xapi/HEAD/src/main/resources/xdev/ui/icons/xdev_32x32.png -------------------------------------------------------------------------------- /src/main/resources/xdev/ui/icons/xdev_48x48.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xdev-software/xapi/HEAD/src/main/resources/xdev/ui/icons/xdev_48x48.png -------------------------------------------------------------------------------- /src/main/resources/xdev/ui/icons/xdev_64x64.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xdev-software/xapi/HEAD/src/main/resources/xdev/ui/icons/xdev_64x64.png -------------------------------------------------------------------------------- /src/main/resources/xdev/ui/icons/xdev_96x96.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xdev-software/xapi/HEAD/src/main/resources/xdev/ui/icons/xdev_96x96.png -------------------------------------------------------------------------------- /src/main/resources/xdev/ui/icons/xdev_128x128.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xdev-software/xapi/HEAD/src/main/resources/xdev/ui/icons/xdev_128x128.png -------------------------------------------------------------------------------- /src/main/resources/xdev/ui/icons/xdev_256x256.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xdev-software/xapi/HEAD/src/main/resources/xdev/ui/icons/xdev_256x256.png -------------------------------------------------------------------------------- /src/main/resources/xdev/ui/locking/ui_de.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xdev-software/xapi/HEAD/src/main/resources/xdev/ui/locking/ui_de.properties -------------------------------------------------------------------------------- /src/main/resources/xdev/ui/locking/icons/info_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xdev-software/xapi/HEAD/src/main/resources/xdev/ui/locking/icons/info_icon.png -------------------------------------------------------------------------------- /.idea/codeStyles/codeStyleConfig.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | -------------------------------------------------------------------------------- /SECURITY.md: -------------------------------------------------------------------------------- 1 | # Security Policy 2 | 3 | ## Reporting a Vulnerability 4 | 5 | Please report a security vulnerability [on GitHub Security Advisories](https://github.com/xdev-software/xapi/security/advisories/new). 6 | -------------------------------------------------------------------------------- /.idea/inspectionProfiles/Project_Default.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | -------------------------------------------------------------------------------- /src/main/resources/xdev/util/common.colors: -------------------------------------------------------------------------------- 1 | 255,193,31 2 | 154,205,40 3 | 0,205,205 4 | 0,0,128 5 | 255,165,0 6 | 39,64,139 7 | 51,51,51 8 | 139,0,0 9 | 238,118,0 10 | 139,117,0 11 | 0,139,0 12 | 0,134,139 13 | 0,0,255 14 | 172,100,79 15 | 255,0,0 16 | 96,123,139 17 | 118,238,0 18 | 46,139,87 19 | 72,209,204 20 | 67,110,238 21 | 139,0,139 22 | 153,153,153 23 | 255,0,255 24 | 255,215,0 25 | 239,228,176 26 | 0,255,0 27 | 0,255,255 28 | 0,191,255 29 | 139,58,98 30 | 189,189,189 31 | 255,174,185 32 | 255,211,155 33 | 255,246,143 34 | 193,255,193 35 | 187,255,255 36 | 135,206,250 37 | 221,160,221 38 | 255,255,255 -------------------------------------------------------------------------------- /.github/dependabot.yml: -------------------------------------------------------------------------------- 1 | version: 2 2 | updates: 3 | - package-ecosystem: github-actions 4 | directory: "/" 5 | schedule: 6 | interval: daily 7 | # Run it at a specific time so that we don't get emails all day long 8 | time: "00:00" 9 | open-pull-requests-limit: 10 10 | ignore: 11 | - dependency-name: "*" 12 | # GitHub actions are using git tags (v1 = v1.2 = v1.2.3) which should be compatible until a major change is performed 13 | update-types: 14 | - "version-update:semver-minor" 15 | - "version-update:semver-patch" 16 | - package-ecosystem: maven 17 | directory: "/" 18 | schedule: 19 | interval: daily 20 | # Run it at a specific time so that we don't get emails all day long 21 | time: "00:00" 22 | open-pull-requests-limit: 10 23 | -------------------------------------------------------------------------------- /.idea/saveactions_settings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 19 | 21 | -------------------------------------------------------------------------------- /src/main/java/xdev/util/logging/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * XDEV Application Framework - XDEV Application Framework 3 | * Copyright © 2003 XDEV Software (https://xdev.software) 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU Lesser General Public License as published by 7 | * the Free Software Foundation, either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License 16 | * along with this program. If not, see . 17 | */ 18 | package xdev.util.logging; 19 | -------------------------------------------------------------------------------- /src/main/java/xdev/util/systemproperty/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * XDEV Application Framework - XDEV Application Framework 3 | * Copyright © 2003 XDEV Software (https://xdev.software) 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU Lesser General Public License as published by 7 | * the Free Software Foundation, either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License 16 | * along with this program. If not, see . 17 | */ 18 | package xdev.util.systemproperty; 19 | -------------------------------------------------------------------------------- /.github/workflows/test-deploy.yml: -------------------------------------------------------------------------------- 1 | name: Test Deployment CI 2 | 3 | on: 4 | workflow_dispatch: 5 | 6 | jobs: 7 | publish_central: # Publish the code to central 8 | runs-on: ubuntu-latest 9 | steps: 10 | - uses: actions/checkout@v4 11 | 12 | - name: Set up JDK OSSRH 13 | uses: actions/setup-java@v4 14 | with: # running setup-java again overwrites the settings.xml 15 | distribution: 'temurin' 16 | java-version: '8' 17 | server-id: ossrh 18 | server-username: MAVEN_CENTRAL_USERNAME 19 | server-password: MAVEN_CENTRAL_TOKEN 20 | gpg-passphrase: MAVEN_GPG_PASSPHRASE 21 | gpg-private-key: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }} 22 | 23 | - name: Publish to OSSRH 24 | run: mvn -B deploy -Possrh 25 | env: 26 | MAVEN_CENTRAL_USERNAME: ${{ secrets.MAVEN_CENTRAL_USERNAME }} 27 | MAVEN_CENTRAL_TOKEN: ${{ secrets.MAVEN_CENTRAL_TOKEN }} 28 | MAVEN_GPG_PASSPHRASE: ${{ secrets.MAVEN_GPG_PASSPHRASE }} 29 | -------------------------------------------------------------------------------- /src/main/java/xdev/util/Comparer.java: -------------------------------------------------------------------------------- 1 | /* 2 | * XDEV Application Framework - XDEV Application Framework 3 | * Copyright © 2003 XDEV Software (https://xdev.software) 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU Lesser General Public License as published by 7 | * the Free Software Foundation, either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License 16 | * along with this program. If not, see . 17 | */ 18 | package xdev.util; 19 | 20 | 21 | public interface Comparer 22 | { 23 | public boolean equals(T obj1, T obj2); 24 | } 25 | -------------------------------------------------------------------------------- /src/main/resources/xdev/ui/locking/ui.properties: -------------------------------------------------------------------------------- 1 | 2 | RenewLockWindow.Cancel=Cancel 3 | RenewLockWindow.LockIsValid=Record editable until: 4 | RenewLockWindow.Renew=Renew 5 | RenewLockWindow.RenewLockText=Extend editing for (seconds): 6 | RenewLockWindow.Title=Extend editing 7 | 8 | WindowCountDown.LockIsValidForText=Editable until: 9 | 10 | LockingException.Title=Locking error 11 | LockingException.Text= Failed to generate Lock. See detail error message: \n 12 | 13 | LockingBlocked.Title=Record in process 14 | LockingBlocked.Text= This record is currently being updated by user {0} until {1}. 15 | LockingBlocked.TextPlain=This record is currently being updated by another user 16 | 17 | LockingSyncRows.Title=Synchronization conflicts 18 | LockingSyncRows.Text=Missing permissions to synchronize all rows. Another user locked conflicting rows in the meantime. Please chose whether to cancel without synchronization or synchronize unconflicted rows. 19 | LockingSyncRows.Cancel=Cancel 20 | LockingSyncRows.Ok=Partial synchronize -------------------------------------------------------------------------------- /src/main/java/xdev/ui/XdevScrollBarListener.java: -------------------------------------------------------------------------------- 1 | /* 2 | * XDEV Application Framework - XDEV Application Framework 3 | * Copyright © 2003 XDEV Software (https://xdev.software) 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU Lesser General Public License as published by 7 | * the Free Software Foundation, either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License 16 | * along with this program. If not, see . 17 | */ 18 | package xdev.ui; 19 | 20 | 21 | public interface XdevScrollBarListener 22 | { 23 | public void scrollBarValueChanged(); 24 | } 25 | -------------------------------------------------------------------------------- /src/main/java/xdev/ui/XdevTabbedPaneSettings.java: -------------------------------------------------------------------------------- 1 | /* 2 | * XDEV Application Framework - XDEV Application Framework 3 | * Copyright © 2003 XDEV Software (https://xdev.software) 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU Lesser General Public License as published by 7 | * the Free Software Foundation, either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License 16 | * along with this program. If not, see . 17 | */ 18 | package xdev.ui; 19 | 20 | 21 | public @interface XdevTabbedPaneSettings 22 | { 23 | Class tabType() default XdevTab.class; 24 | } 25 | -------------------------------------------------------------------------------- /src/main/java/xdev/util/auth/Authenticator.java: -------------------------------------------------------------------------------- 1 | /* 2 | * XDEV Application Framework - XDEV Application Framework 3 | * Copyright © 2003 XDEV Software (https://xdev.software) 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU Lesser General Public License as published by 7 | * the Free Software Foundation, either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License 16 | * along with this program. If not, see . 17 | */ 18 | package xdev.util.auth; 19 | 20 | 21 | public interface Authenticator 22 | { 23 | public Authentication getAuthentication(); 24 | } 25 | -------------------------------------------------------------------------------- /src/main/java/xdev/io/ByteHolder.java: -------------------------------------------------------------------------------- 1 | /* 2 | * XDEV Application Framework - XDEV Application Framework 3 | * Copyright © 2003 XDEV Software (https://xdev.software) 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU Lesser General Public License as published by 7 | * the Free Software Foundation, either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License 16 | * along with this program. If not, see . 17 | */ 18 | package xdev.io; 19 | 20 | 21 | public interface ByteHolder 22 | { 23 | public int length(); 24 | 25 | 26 | public byte[] toByteArray(); 27 | } 28 | -------------------------------------------------------------------------------- /src/main/java/xdev/io/CharHolder.java: -------------------------------------------------------------------------------- 1 | /* 2 | * XDEV Application Framework - XDEV Application Framework 3 | * Copyright © 2003 XDEV Software (https://xdev.software) 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU Lesser General Public License as published by 7 | * the Free Software Foundation, either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License 16 | * along with this program. If not, see . 17 | */ 18 | package xdev.io; 19 | 20 | 21 | public interface CharHolder 22 | { 23 | public int length(); 24 | 25 | 26 | public char[] toCharArray(); 27 | } 28 | -------------------------------------------------------------------------------- /src/main/java/xdev/db/JoinType.java: -------------------------------------------------------------------------------- 1 | /* 2 | * XDEV Application Framework - XDEV Application Framework 3 | * Copyright © 2003 XDEV Software (https://xdev.software) 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU Lesser General Public License as published by 7 | * the Free Software Foundation, either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License 16 | * along with this program. If not, see . 17 | */ 18 | package xdev.db; 19 | 20 | 21 | public enum JoinType 22 | { 23 | INNER_JOIN, 24 | 25 | OUTER_JOIN, 26 | 27 | LEFT_JOIN, 28 | 29 | RIGHT_JOIN 30 | } 31 | -------------------------------------------------------------------------------- /src/main/java/xdev/util/res/ResourceHandler.java: -------------------------------------------------------------------------------- 1 | /* 2 | * XDEV Application Framework - XDEV Application Framework 3 | * Copyright © 2003 XDEV Software (https://xdev.software) 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU Lesser General Public License as published by 7 | * the Free Software Foundation, either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License 16 | * along with this program. If not, see . 17 | */ 18 | package xdev.util.res; 19 | 20 | 21 | public interface ResourceHandler 22 | { 23 | public ResourceSearchStrategy getSearchStrategy(); 24 | } 25 | -------------------------------------------------------------------------------- /src/main/java/com/xdev/jadoth/collections/XSet.java: -------------------------------------------------------------------------------- 1 | /* 2 | * XDEV Application Framework - XDEV Application Framework 3 | * Copyright © 2003 XDEV Software (https://xdev.software) 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU Lesser General Public License as published by 7 | * the Free Software Foundation, either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License 16 | * along with this program. If not, see . 17 | */ 18 | package com.xdev.jadoth.collections; 19 | 20 | /** 21 | * @author Thomas Muenz 22 | * 23 | */ 24 | public interface XSet 25 | { 26 | 27 | } 28 | -------------------------------------------------------------------------------- /src/main/java/xdev/ui/DatePopupCustomizer.java: -------------------------------------------------------------------------------- 1 | /* 2 | * XDEV Application Framework - XDEV Application Framework 3 | * Copyright © 2003 XDEV Software (https://xdev.software) 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU Lesser General Public License as published by 7 | * the Free Software Foundation, either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License 16 | * along with this program. If not, see . 17 | */ 18 | package xdev.ui; 19 | 20 | 21 | public interface DatePopupCustomizer 22 | { 23 | public int getMinYear(); 24 | 25 | 26 | public int getMaxYear(); 27 | } 28 | -------------------------------------------------------------------------------- /src/main/java/xdev/ui/GridInfo.java: -------------------------------------------------------------------------------- 1 | /* 2 | * XDEV Application Framework - XDEV Application Framework 3 | * Copyright © 2003 XDEV Software (https://xdev.software) 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU Lesser General Public License as published by 7 | * the Free Software Foundation, either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License 16 | * along with this program. If not, see . 17 | */ 18 | package xdev.ui; 19 | 20 | 21 | public interface GridInfo 22 | { 23 | public boolean isRowBarUsed(); 24 | 25 | 26 | public boolean showOnlyMastercolOfSubrecords(); 27 | } 28 | -------------------------------------------------------------------------------- /src/main/java/xdev/util/DataSourceMetaData.java: -------------------------------------------------------------------------------- 1 | /* 2 | * XDEV Application Framework - XDEV Application Framework 3 | * Copyright © 2003 XDEV Software (https://xdev.software) 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU Lesser General Public License as published by 7 | * the Free Software Foundation, either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License 16 | * along with this program. If not, see . 17 | */ 18 | package xdev.util; 19 | 20 | 21 | public interface DataSourceMetaData 22 | { 23 | public String getName(); 24 | 25 | 26 | public String getVersion(); 27 | } 28 | -------------------------------------------------------------------------------- /src/test/java/xdev/test/UITest.java: -------------------------------------------------------------------------------- 1 | /* 2 | * XDEV Application Framework - XDEV Application Framework 3 | * Copyright © 2003 XDEV Software (https://xdev.software) 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU Lesser General Public License as published by 7 | * the Free Software Foundation, either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License 16 | * along with this program. If not, see . 17 | */ 18 | package xdev.test; 19 | 20 | /** 21 | * Marker interface for UI tests 22 | * 23 | * @author AB 24 | * 25 | */ 26 | public interface UITest 27 | { 28 | // Nothing 29 | } 30 | -------------------------------------------------------------------------------- /src/main/java/com/xdev/jadoth/lang/aspects/AspectContext.java: -------------------------------------------------------------------------------- 1 | /* 2 | * XDEV Application Framework - XDEV Application Framework 3 | * Copyright © 2003 XDEV Software (https://xdev.software) 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU Lesser General Public License as published by 7 | * the Free Software Foundation, either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License 16 | * along with this program. If not, see . 17 | */ 18 | package com.xdev.jadoth.lang.aspects; 19 | 20 | /** 21 | * @author Thomas Muenz 22 | * 23 | */ 24 | public interface AspectContext 25 | { 26 | 27 | } 28 | -------------------------------------------------------------------------------- /src/main/java/com/xdev/jadoth/collections/MapEntryProviderEquality.java: -------------------------------------------------------------------------------- 1 | /* 2 | * XDEV Application Framework - XDEV Application Framework 3 | * Copyright © 2003 XDEV Software (https://xdev.software) 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU Lesser General Public License as published by 7 | * the Free Software Foundation, either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License 16 | * along with this program. If not, see . 17 | */ 18 | package com.xdev.jadoth.collections; 19 | 20 | /** 21 | * @author TM 22 | * 23 | */ 24 | public class MapEntryProviderEquality 25 | { 26 | 27 | } 28 | -------------------------------------------------------------------------------- /src/main/java/xdev/util/auth/Authentication.java: -------------------------------------------------------------------------------- 1 | /* 2 | * XDEV Application Framework - XDEV Application Framework 3 | * Copyright © 2003 XDEV Software (https://xdev.software) 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU Lesser General Public License as published by 7 | * the Free Software Foundation, either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License 16 | * along with this program. If not, see . 17 | */ 18 | package xdev.util.auth; 19 | 20 | 21 | public interface Authentication 22 | { 23 | public String getUserName(); 24 | 25 | 26 | public Password getPassword(); 27 | } 28 | -------------------------------------------------------------------------------- /src/main/java/xdev/ui/PopupHandler.java: -------------------------------------------------------------------------------- 1 | /* 2 | * XDEV Application Framework - XDEV Application Framework 3 | * Copyright © 2003 XDEV Software (https://xdev.software) 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU Lesser General Public License as published by 7 | * the Free Software Foundation, either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License 16 | * along with this program. If not, see . 17 | */ 18 | package xdev.ui; 19 | 20 | 21 | import java.util.EventObject; 22 | 23 | 24 | public interface PopupHandler 25 | { 26 | public void showPopup(EventObject trigger, int x, int y); 27 | } 28 | -------------------------------------------------------------------------------- /src/main/java/xdev/ui/laf/LookAndFeelExtension.java: -------------------------------------------------------------------------------- 1 | /* 2 | * XDEV Application Framework - XDEV Application Framework 3 | * Copyright © 2003 XDEV Software (https://xdev.software) 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU Lesser General Public License as published by 7 | * the Free Software Foundation, either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License 16 | * along with this program. If not, see . 17 | */ 18 | package xdev.ui.laf; 19 | 20 | 21 | public interface LookAndFeelExtension 22 | { 23 | public void installLookAndFeelExtension(LookAndFeel laf) throws LookAndFeelException; 24 | } 25 | -------------------------------------------------------------------------------- /src/main/java/com/xdev/jadoth/lang/Hasher.java: -------------------------------------------------------------------------------- 1 | /* 2 | * XDEV Application Framework - XDEV Application Framework 3 | * Copyright © 2003 XDEV Software (https://xdev.software) 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU Lesser General Public License as published by 7 | * the Free Software Foundation, either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License 16 | * along with this program. If not, see . 17 | */ 18 | /** 19 | * 20 | */ 21 | package com.xdev.jadoth.lang; 22 | 23 | /** 24 | * @author TM 25 | * 26 | */ 27 | public interface Hasher 28 | { 29 | public int hashCode(T object); 30 | } 31 | -------------------------------------------------------------------------------- /src/main/java/com/xdev/jadoth/util/strings/Named.java: -------------------------------------------------------------------------------- 1 | /* 2 | * XDEV Application Framework - XDEV Application Framework 3 | * Copyright © 2003 XDEV Software (https://xdev.software) 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU Lesser General Public License as published by 7 | * the Free Software Foundation, either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License 16 | * along with this program. If not, see . 17 | */ 18 | package com.xdev.jadoth.util.strings; 19 | 20 | 21 | /** 22 | * @author Thomas Muenz 23 | * 24 | */ 25 | public interface Named 26 | { 27 | public String getName(); 28 | 29 | } 30 | -------------------------------------------------------------------------------- /src/main/java/com/xdev/jadoth/codegen/java/codeobjects/JavaCodeObject.java: -------------------------------------------------------------------------------- 1 | /* 2 | * XDEV Application Framework - XDEV Application Framework 3 | * Copyright © 2003 XDEV Software (https://xdev.software) 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU Lesser General Public License as published by 7 | * the Free Software Foundation, either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License 16 | * along with this program. If not, see . 17 | */ 18 | package com.xdev.jadoth.codegen.java.codeobjects; 19 | 20 | /** 21 | * @author Thomas Muenz 22 | * 23 | */ 24 | public interface JavaCodeObject 25 | { 26 | 27 | } 28 | -------------------------------------------------------------------------------- /src/main/java/com/xdev/jadoth/collections/ListAccessor.java: -------------------------------------------------------------------------------- 1 | /* 2 | * XDEV Application Framework - XDEV Application Framework 3 | * Copyright © 2003 XDEV Software (https://xdev.software) 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU Lesser General Public License as published by 7 | * the Free Software Foundation, either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License 16 | * along with this program. If not, see . 17 | */ 18 | package com.xdev.jadoth.collections; 19 | 20 | /** 21 | * @author Thomas Muenz 22 | * 23 | */ 24 | public class ListAccessor //implements XSettingList 25 | { 26 | 27 | } 28 | -------------------------------------------------------------------------------- /src/main/java/com/xdev/jadoth/lang/functional/Operation.java: -------------------------------------------------------------------------------- 1 | /* 2 | * XDEV Application Framework - XDEV Application Framework 3 | * Copyright © 2003 XDEV Software (https://xdev.software) 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU Lesser General Public License as published by 7 | * the Free Software Foundation, either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License 16 | * along with this program. If not, see . 17 | */ 18 | package com.xdev.jadoth.lang.functional; 19 | 20 | /** 21 | * @author Thomas Muenz 22 | * 23 | */ 24 | public interface Operation 25 | { 26 | public void execute(T e); 27 | } 28 | -------------------------------------------------------------------------------- /src/main/java/com/xdev/jadoth/codegen/java/JavaSerialVersionUIDGenerator.java: -------------------------------------------------------------------------------- 1 | /* 2 | * XDEV Application Framework - XDEV Application Framework 3 | * Copyright © 2003 XDEV Software (https://xdev.software) 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU Lesser General Public License as published by 7 | * the Free Software Foundation, either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License 16 | * along with this program. If not, see . 17 | */ 18 | package com.xdev.jadoth.codegen.java; 19 | 20 | /** 21 | * @author Thomas Muenz 22 | * 23 | */ 24 | public class JavaSerialVersionUIDGenerator 25 | { 26 | 27 | } 28 | -------------------------------------------------------------------------------- /src/main/java/com/xdev/jadoth/collections/_intList.java: -------------------------------------------------------------------------------- 1 | /* 2 | * XDEV Application Framework - XDEV Application Framework 3 | * Copyright © 2003 XDEV Software (https://xdev.software) 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU Lesser General Public License as published by 7 | * the Free Software Foundation, either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License 16 | * along with this program. If not, see . 17 | */ 18 | /** 19 | * 20 | */ 21 | package com.xdev.jadoth.collections; 22 | 23 | /** 24 | * @author Thomas Muenz 25 | * 26 | */ 27 | public class _intList 28 | { 29 | // Not implemented 30 | } 31 | -------------------------------------------------------------------------------- /src/main/java/com/xdev/jadoth/lang/reflection/Instantiator.java: -------------------------------------------------------------------------------- 1 | /* 2 | * XDEV Application Framework - XDEV Application Framework 3 | * Copyright © 2003 XDEV Software (https://xdev.software) 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU Lesser General Public License as published by 7 | * the Free Software Foundation, either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License 16 | * along with this program. If not, see . 17 | */ 18 | package com.xdev.jadoth.lang.reflection; 19 | 20 | /** 21 | * @author Thomas Muenz 22 | * 23 | */ 24 | public interface Instantiator 25 | { 26 | public E newInstance(); 27 | } 28 | -------------------------------------------------------------------------------- /src/main/java/com/xdev/jadoth/sqlengine/interfaces/QueryActionListener.java: -------------------------------------------------------------------------------- 1 | /* 2 | * XDEV Application Framework - XDEV Application Framework 3 | * Copyright © 2003 XDEV Software (https://xdev.software) 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU Lesser General Public License as published by 7 | * the Free Software Foundation, either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License 16 | * along with this program. If not, see . 17 | */ 18 | package com.xdev.jadoth.sqlengine.interfaces; 19 | 20 | /** 21 | * @author Thomas Muenz 22 | * 23 | */ 24 | public interface QueryActionListener 25 | { 26 | 27 | } 28 | -------------------------------------------------------------------------------- /src/main/java/com/xdev/jadoth/collections/ListView.java: -------------------------------------------------------------------------------- 1 | /* 2 | * XDEV Application Framework - XDEV Application Framework 3 | * Copyright © 2003 XDEV Software (https://xdev.software) 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU Lesser General Public License as published by 7 | * the Free Software Foundation, either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License 16 | * along with this program. If not, see . 17 | */ 18 | package com.xdev.jadoth.collections; 19 | 20 | /** 21 | * @author Thomas Muenz 22 | * 23 | */ 24 | public class ListView //implements XGettingList 25 | { 26 | // Not implemented 27 | } 28 | -------------------------------------------------------------------------------- /src/main/java/com/xdev/jadoth/criteria/Criterion.java: -------------------------------------------------------------------------------- 1 | /* 2 | * XDEV Application Framework - XDEV Application Framework 3 | * Copyright © 2003 XDEV Software (https://xdev.software) 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU Lesser General Public License as published by 7 | * the Free Software Foundation, either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License 16 | * along with this program. If not, see . 17 | */ 18 | package com.xdev.jadoth.criteria; 19 | 20 | 21 | /** 22 | * @author Thomas Muenz 23 | * 24 | */ 25 | public interface Criterion 26 | { 27 | boolean evaluate(T... criterionElements); 28 | } 29 | -------------------------------------------------------------------------------- /src/main/java/com/xdev/jadoth/lang/functional/_charOperation.java: -------------------------------------------------------------------------------- 1 | /* 2 | * XDEV Application Framework - XDEV Application Framework 3 | * Copyright © 2003 XDEV Software (https://xdev.software) 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU Lesser General Public License as published by 7 | * the Free Software Foundation, either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License 16 | * along with this program. If not, see . 17 | */ 18 | package com.xdev.jadoth.lang.functional; 19 | 20 | /** 21 | * @author Thomas Muenz 22 | * 23 | */ 24 | public interface _charOperation 25 | { 26 | public void execute(char c); 27 | } 28 | -------------------------------------------------------------------------------- /src/main/java/com/xdev/jadoth/lang/functional/_intOperation.java: -------------------------------------------------------------------------------- 1 | /* 2 | * XDEV Application Framework - XDEV Application Framework 3 | * Copyright © 2003 XDEV Software (https://xdev.software) 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU Lesser General Public License as published by 7 | * the Free Software Foundation, either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License 16 | * along with this program. If not, see . 17 | */ 18 | package com.xdev.jadoth.lang.functional; 19 | 20 | /** 21 | * @author Thomas Muenz 22 | * 23 | */ 24 | public interface _intOperation 25 | { 26 | public void execute(int i); 27 | } 28 | -------------------------------------------------------------------------------- /src/main/java/com/xdev/jadoth/codegen/java/codeobjects/JavaGenericParameter.java: -------------------------------------------------------------------------------- 1 | /* 2 | * XDEV Application Framework - XDEV Application Framework 3 | * Copyright © 2003 XDEV Software (https://xdev.software) 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU Lesser General Public License as published by 7 | * the Free Software Foundation, either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License 16 | * along with this program. If not, see . 17 | */ 18 | package com.xdev.jadoth.codegen.java.codeobjects; 19 | 20 | /** 21 | * @author Thomas Muenz 22 | * 23 | */ 24 | public interface JavaGenericParameter 25 | { 26 | 27 | } 28 | -------------------------------------------------------------------------------- /src/main/java/com/xdev/jadoth/collections/MapEntryProviderEqualityWeakKeyWeakValue.java: -------------------------------------------------------------------------------- 1 | /* 2 | * XDEV Application Framework - XDEV Application Framework 3 | * Copyright © 2003 XDEV Software (https://xdev.software) 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU Lesser General Public License as published by 7 | * the Free Software Foundation, either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License 16 | * along with this program. If not, see . 17 | */ 18 | package com.xdev.jadoth.collections; 19 | 20 | /** 21 | * @author TM 22 | * 23 | */ 24 | public class MapEntryProviderEqualityWeakKeyWeakValue 25 | { 26 | 27 | } 28 | -------------------------------------------------------------------------------- /src/main/java/com/xdev/jadoth/collections/MapEntryProviderIdentityWeakKeyWeakValue.java: -------------------------------------------------------------------------------- 1 | /* 2 | * XDEV Application Framework - XDEV Application Framework 3 | * Copyright © 2003 XDEV Software (https://xdev.software) 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU Lesser General Public License as published by 7 | * the Free Software Foundation, either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License 16 | * along with this program. If not, see . 17 | */ 18 | package com.xdev.jadoth.collections; 19 | 20 | /** 21 | * @author TM 22 | * 23 | */ 24 | public class MapEntryProviderIdentityWeakKeyWeakValue 25 | { 26 | 27 | } 28 | -------------------------------------------------------------------------------- /src/main/java/com/xdev/jadoth/lang/Equalator.java: -------------------------------------------------------------------------------- 1 | /* 2 | * XDEV Application Framework - XDEV Application Framework 3 | * Copyright © 2003 XDEV Software (https://xdev.software) 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU Lesser General Public License as published by 7 | * the Free Software Foundation, either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License 16 | * along with this program. If not, see . 17 | */ 18 | /** 19 | * 20 | */ 21 | package com.xdev.jadoth.lang; 22 | 23 | /** 24 | * @author TM 25 | * 26 | */ 27 | public interface Equalator 28 | { 29 | public boolean equal(T object1, T object2); 30 | } 31 | -------------------------------------------------------------------------------- /src/main/java/xdev/io/event/SocketListener.java: -------------------------------------------------------------------------------- 1 | /* 2 | * XDEV Application Framework - XDEV Application Framework 3 | * Copyright © 2003 XDEV Software (https://xdev.software) 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU Lesser General Public License as published by 7 | * the Free Software Foundation, either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License 16 | * along with this program. If not, see . 17 | */ 18 | package xdev.io.event; 19 | 20 | 21 | import java.util.*; 22 | 23 | 24 | public interface SocketListener extends EventListener 25 | { 26 | public void socketConnectionReceived(SocketEvent event); 27 | } 28 | -------------------------------------------------------------------------------- /src/main/java/com/xdev/jadoth/codegen/java/codeobjects/JavaCodeObjectAttachment.java: -------------------------------------------------------------------------------- 1 | /* 2 | * XDEV Application Framework - XDEV Application Framework 3 | * Copyright © 2003 XDEV Software (https://xdev.software) 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU Lesser General Public License as published by 7 | * the Free Software Foundation, either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License 16 | * along with this program. If not, see . 17 | */ 18 | package com.xdev.jadoth.codegen.java.codeobjects; 19 | 20 | /** 21 | * @author Thomas Muenz 22 | * 23 | */ 24 | public interface JavaCodeObjectAttachment 25 | { 26 | 27 | } 28 | -------------------------------------------------------------------------------- /src/main/java/com/xdev/jadoth/codegen/java/codeobjects/JavaExpression.java: -------------------------------------------------------------------------------- 1 | /* 2 | * XDEV Application Framework - XDEV Application Framework 3 | * Copyright © 2003 XDEV Software (https://xdev.software) 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU Lesser General Public License as published by 7 | * the Free Software Foundation, either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License 16 | * along with this program. If not, see . 17 | */ 18 | package com.xdev.jadoth.codegen.java.codeobjects; 19 | 20 | /** 21 | * @author Thomas Muenz 22 | * 23 | */ 24 | public interface JavaExpression extends JavaCodeObject 25 | { 26 | 27 | } 28 | -------------------------------------------------------------------------------- /src/main/java/com/xdev/jadoth/codegen/java/codeobjects/JavaThrowableType.java: -------------------------------------------------------------------------------- 1 | /* 2 | * XDEV Application Framework - XDEV Application Framework 3 | * Copyright © 2003 XDEV Software (https://xdev.software) 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU Lesser General Public License as published by 7 | * the Free Software Foundation, either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License 16 | * along with this program. If not, see . 17 | */ 18 | package com.xdev.jadoth.codegen.java.codeobjects; 19 | 20 | /** 21 | * @author Thomas Muenz 22 | * 23 | */ 24 | public interface JavaThrowableType extends JavaObjectType 25 | { 26 | 27 | } 28 | -------------------------------------------------------------------------------- /src/main/java/com/xdev/jadoth/codegen/java/codeobjects/JavaTypedValue.java: -------------------------------------------------------------------------------- 1 | /* 2 | * XDEV Application Framework - XDEV Application Framework 3 | * Copyright © 2003 XDEV Software (https://xdev.software) 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU Lesser General Public License as published by 7 | * the Free Software Foundation, either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License 16 | * along with this program. If not, see . 17 | */ 18 | package com.xdev.jadoth.codegen.java.codeobjects; 19 | 20 | /** 21 | * @author Thomas Muenz 22 | * 23 | */ 24 | public interface JavaTypedValue extends JavaTypedCodeObject 25 | { 26 | 27 | } 28 | -------------------------------------------------------------------------------- /src/test/java/xdev/util/dummies/RichPerson.java: -------------------------------------------------------------------------------- 1 | /* 2 | * XDEV Application Framework - XDEV Application Framework 3 | * Copyright © 2003 XDEV Software (https://xdev.software) 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU Lesser General Public License as published by 7 | * the Free Software Foundation, either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License 16 | * along with this program. If not, see . 17 | */ 18 | package xdev.util.dummies; 19 | 20 | import org.junit.Ignore; 21 | 22 | @Ignore 23 | public class RichPerson extends Person 24 | { 25 | // private int blz = 0; 26 | 27 | public RichPerson() 28 | { 29 | 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /.idea/checkstyle-idea.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 10.1 5 | JavaOnlyWithTests 6 | true 7 | true 8 | 12 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /src/main/java/com/xdev/jadoth/codegen/java/codeobjects/JavaAnnotatedElementDescription.java: -------------------------------------------------------------------------------- 1 | /* 2 | * XDEV Application Framework - XDEV Application Framework 3 | * Copyright © 2003 XDEV Software (https://xdev.software) 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU Lesser General Public License as published by 7 | * the Free Software Foundation, either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License 16 | * along with this program. If not, see . 17 | */ 18 | package com.xdev.jadoth.codegen.java.codeobjects; 19 | 20 | /** 21 | * @author Thomas Muenz 22 | * 23 | */ 24 | public interface JavaAnnotatedElementDescription 25 | { 26 | 27 | } 28 | -------------------------------------------------------------------------------- /src/main/java/com/xdev/jadoth/codegen/java/codeobjects/JavaKeywordOwner.java: -------------------------------------------------------------------------------- 1 | /* 2 | * XDEV Application Framework - XDEV Application Framework 3 | * Copyright © 2003 XDEV Software (https://xdev.software) 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU Lesser General Public License as published by 7 | * the Free Software Foundation, either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License 16 | * along with this program. If not, see . 17 | */ 18 | package com.xdev.jadoth.codegen.java.codeobjects; 19 | 20 | /** 21 | * @author Thomas Muenz 22 | * 23 | */ 24 | public interface JavaKeywordOwner 25 | { 26 | public String getKeyword(); 27 | } 28 | -------------------------------------------------------------------------------- /src/main/java/com/xdev/jadoth/identity/IdentityResolver.java: -------------------------------------------------------------------------------- 1 | /* 2 | * XDEV Application Framework - XDEV Application Framework 3 | * Copyright © 2003 XDEV Software (https://xdev.software) 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU Lesser General Public License as published by 7 | * the Free Software Foundation, either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License 16 | * along with this program. If not, see . 17 | */ 18 | package com.xdev.jadoth.identity; 19 | 20 | /** 21 | * @author Thomas Muenz 22 | * 23 | */ 24 | public interface IdentityResolver> 25 | { 26 | public T resolveIdentity(I identity); 27 | } 28 | -------------------------------------------------------------------------------- /src/main/java/com/xdev/jadoth/lang/functional/Predicate.java: -------------------------------------------------------------------------------- 1 | /* 2 | * XDEV Application Framework - XDEV Application Framework 3 | * Copyright © 2003 XDEV Software (https://xdev.software) 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU Lesser General Public License as published by 7 | * the Free Software Foundation, either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License 16 | * along with this program. If not, see . 17 | */ 18 | /** 19 | * 20 | */ 21 | package com.xdev.jadoth.lang.functional; 22 | 23 | /** 24 | * @author Thomas Muenz 25 | * 26 | */ 27 | public interface Predicate 28 | { 29 | public boolean apply(E e); 30 | 31 | } 32 | -------------------------------------------------------------------------------- /src/main/java/com/xdev/jadoth/lang/functional/_intPredicate.java: -------------------------------------------------------------------------------- 1 | /* 2 | * XDEV Application Framework - XDEV Application Framework 3 | * Copyright © 2003 XDEV Software (https://xdev.software) 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU Lesser General Public License as published by 7 | * the Free Software Foundation, either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License 16 | * along with this program. If not, see . 17 | */ 18 | /** 19 | * 20 | */ 21 | package com.xdev.jadoth.lang.functional; 22 | 23 | /** 24 | * @author Thomas Muenz 25 | * 26 | */ 27 | public interface _intPredicate 28 | { 29 | public boolean apply(int i); 30 | } 31 | -------------------------------------------------------------------------------- /src/main/java/com/xdev/jadoth/sqlengine/aspects/QueryPreAssemblyContext.java: -------------------------------------------------------------------------------- 1 | /* 2 | * XDEV Application Framework - XDEV Application Framework 3 | * Copyright © 2003 XDEV Software (https://xdev.software) 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU Lesser General Public License as published by 7 | * the Free Software Foundation, either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License 16 | * along with this program. If not, see . 17 | */ 18 | package com.xdev.jadoth.sqlengine.aspects; 19 | 20 | /** 21 | * @author Thomas Muenz 22 | * 23 | */ 24 | public interface QueryPreAssemblyContext extends QueryExecutionContext 25 | { 26 | 27 | } 28 | -------------------------------------------------------------------------------- /src/main/java/com/xdev/jadoth/sqlengine/types/TableReadingTableQuery.java: -------------------------------------------------------------------------------- 1 | /* 2 | * XDEV Application Framework - XDEV Application Framework 3 | * Copyright © 2003 XDEV Software (https://xdev.software) 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU Lesser General Public License as published by 7 | * the Free Software Foundation, either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License 16 | * along with this program. If not, see . 17 | */ 18 | package com.xdev.jadoth.sqlengine.types; 19 | 20 | /** 21 | * @author Thomas Muenz 22 | * 23 | */ 24 | public interface TableReadingTableQuery extends TableQuery, TableReadingQuery 25 | { 26 | 27 | } 28 | -------------------------------------------------------------------------------- /src/main/java/com/xdev/jadoth/codegen/java/codeobjects/JavaStaticInitializer.java: -------------------------------------------------------------------------------- 1 | /* 2 | * XDEV Application Framework - XDEV Application Framework 3 | * Copyright © 2003 XDEV Software (https://xdev.software) 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU Lesser General Public License as published by 7 | * the Free Software Foundation, either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License 16 | * along with this program. If not, see . 17 | */ 18 | package com.xdev.jadoth.codegen.java.codeobjects; 19 | 20 | 21 | /** 22 | * @author Thomas Muenz 23 | * 24 | */ 25 | public interface JavaStaticInitializer extends JavaInitializer 26 | { 27 | 28 | } 29 | -------------------------------------------------------------------------------- /src/main/java/com/xdev/jadoth/sqlengine/aspects/QueryPostExecutionContext.java: -------------------------------------------------------------------------------- 1 | /* 2 | * XDEV Application Framework - XDEV Application Framework 3 | * Copyright © 2003 XDEV Software (https://xdev.software) 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU Lesser General Public License as published by 7 | * the Free Software Foundation, either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License 16 | * along with this program. If not, see . 17 | */ 18 | package com.xdev.jadoth.sqlengine.aspects; 19 | 20 | /** 21 | * @author Thomas Muenz 22 | * 23 | */ 24 | public interface QueryPostExecutionContext extends QueryExecutionContext 25 | { 26 | 27 | } 28 | -------------------------------------------------------------------------------- /src/main/java/com/xdev/jadoth/sqlengine/aspects/QueryPreExecutionContext.java: -------------------------------------------------------------------------------- 1 | /* 2 | * XDEV Application Framework - XDEV Application Framework 3 | * Copyright © 2003 XDEV Software (https://xdev.software) 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU Lesser General Public License as published by 7 | * the Free Software Foundation, either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License 16 | * along with this program. If not, see . 17 | */ 18 | package com.xdev.jadoth.sqlengine.aspects; 19 | 20 | /** 21 | * @author Thomas Muenz 22 | * 23 | */ 24 | public interface QueryPreExecutionContext extends QueryExecutionContext 25 | { 26 | 27 | } 28 | -------------------------------------------------------------------------------- /src/main/java/com/xdev/jadoth/sqlengine/internal/interfaces/SelectItem.java: -------------------------------------------------------------------------------- 1 | /* 2 | * XDEV Application Framework - XDEV Application Framework 3 | * Copyright © 2003 XDEV Software (https://xdev.software) 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU Lesser General Public License as published by 7 | * the Free Software Foundation, either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License 16 | * along with this program. If not, see . 17 | */ 18 | package com.xdev.jadoth.sqlengine.internal.interfaces; 19 | 20 | 21 | /** 22 | * The Interface SelectItem. 23 | * 24 | * @author Thomas Muenz 25 | */ 26 | public interface SelectItem 27 | { 28 | 29 | } 30 | -------------------------------------------------------------------------------- /src/main/java/xdev/ui/tree/TreePopupHandler.java: -------------------------------------------------------------------------------- 1 | /* 2 | * XDEV Application Framework - XDEV Application Framework 3 | * Copyright © 2003 XDEV Software (https://xdev.software) 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU Lesser General Public License as published by 7 | * the Free Software Foundation, either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License 16 | * along with this program. If not, see . 17 | */ 18 | package xdev.ui.tree; 19 | 20 | import java.awt.*; 21 | import java.util.*; 22 | 23 | 24 | public interface TreePopupHandler extends EventListener 25 | { 26 | public void showPopup(EventObject trigger, Object treeNode, Point p); 27 | } 28 | -------------------------------------------------------------------------------- /src/main/java/xdev/ui/tree/XdevTreeManager.java: -------------------------------------------------------------------------------- 1 | /* 2 | * XDEV Application Framework - XDEV Application Framework 3 | * Copyright © 2003 XDEV Software (https://xdev.software) 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU Lesser General Public License as published by 7 | * the Free Software Foundation, either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License 16 | * along with this program. If not, see . 17 | */ 18 | package xdev.ui.tree; 19 | 20 | 21 | import javax.swing.Icon; 22 | 23 | 24 | public interface XdevTreeManager 25 | { 26 | public String getCaption(XdevTreeNode node); 27 | 28 | 29 | public Icon getIcon(XdevTreeNode node); 30 | } 31 | -------------------------------------------------------------------------------- /src/main/java/com/xdev/jadoth/codegen/java/codeobjects/JavaBlock.java: -------------------------------------------------------------------------------- 1 | /* 2 | * XDEV Application Framework - XDEV Application Framework 3 | * Copyright © 2003 XDEV Software (https://xdev.software) 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU Lesser General Public License as published by 7 | * the Free Software Foundation, either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License 16 | * along with this program. If not, see . 17 | */ 18 | package com.xdev.jadoth.codegen.java.codeobjects; 19 | 20 | /** 21 | * @author Thomas Muenz 22 | * 23 | */ 24 | public interface JavaBlock extends JavaCompilationObject 25 | { 26 | public JavaCodeHolder getOwner(); 27 | } 28 | -------------------------------------------------------------------------------- /src/main/java/com/xdev/jadoth/collections/Sortable.java: -------------------------------------------------------------------------------- 1 | /* 2 | * XDEV Application Framework - XDEV Application Framework 3 | * Copyright © 2003 XDEV Software (https://xdev.software) 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU Lesser General Public License as published by 7 | * the Free Software Foundation, either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License 16 | * along with this program. If not, see . 17 | */ 18 | package com.xdev.jadoth.collections; 19 | 20 | import java.util.Comparator; 21 | 22 | /** 23 | * @author Thomas Muenz 24 | * 25 | */ 26 | public interface Sortable 27 | { 28 | public Sortable sort(Comparator comparator); 29 | } 30 | -------------------------------------------------------------------------------- /src/main/java/com/xdev/jadoth/sqlengine/internal/interfaces/TableClause.java: -------------------------------------------------------------------------------- 1 | /* 2 | * XDEV Application Framework - XDEV Application Framework 3 | * Copyright © 2003 XDEV Software (https://xdev.software) 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU Lesser General Public License as published by 7 | * the Free Software Foundation, either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License 16 | * along with this program. If not, see . 17 | */ 18 | package com.xdev.jadoth.sqlengine.internal.interfaces; 19 | 20 | 21 | /** 22 | * The Interface TableClause. 23 | * 24 | * @author Thomas Muenz 25 | */ 26 | public interface TableClause 27 | { 28 | 29 | 30 | } 31 | -------------------------------------------------------------------------------- /src/main/java/xdev/util/res/DefaultResourceHandler.java: -------------------------------------------------------------------------------- 1 | /* 2 | * XDEV Application Framework - XDEV Application Framework 3 | * Copyright © 2003 XDEV Software (https://xdev.software) 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU Lesser General Public License as published by 7 | * the Free Software Foundation, either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License 16 | * along with this program. If not, see . 17 | */ 18 | package xdev.util.res; 19 | 20 | 21 | public class DefaultResourceHandler implements ResourceHandler 22 | { 23 | public ResourceSearchStrategy getSearchStrategy() 24 | { 25 | return new DefaultResourceSearchStrategy(); 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /src/main/java/com/xdev/jadoth/codegen/java/codeobjects/JavaObjectType.java: -------------------------------------------------------------------------------- 1 | /* 2 | * XDEV Application Framework - XDEV Application Framework 3 | * Copyright © 2003 XDEV Software (https://xdev.software) 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU Lesser General Public License as published by 7 | * the Free Software Foundation, either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License 16 | * along with this program. If not, see . 17 | */ 18 | package com.xdev.jadoth.codegen.java.codeobjects; 19 | 20 | /** 21 | * @author Thomas Muenz 22 | * 23 | */ 24 | public interface JavaObjectType extends JavaTypeDescription, JavaGenericParametrizableObject 25 | { 26 | 27 | } 28 | -------------------------------------------------------------------------------- /src/main/java/com/xdev/jadoth/codegen/java/codeobjects/JavaParameter.java: -------------------------------------------------------------------------------- 1 | /* 2 | * XDEV Application Framework - XDEV Application Framework 3 | * Copyright © 2003 XDEV Software (https://xdev.software) 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU Lesser General Public License as published by 7 | * the Free Software Foundation, either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License 16 | * along with this program. If not, see . 17 | */ 18 | package com.xdev.jadoth.codegen.java.codeobjects; 19 | 20 | /** 21 | * @author Thomas Muenz 22 | * 23 | */ 24 | public interface JavaParameter extends JavaTypedValue 25 | { 26 | public JavaMethodDefinition getOwner(); 27 | } 28 | -------------------------------------------------------------------------------- /src/main/java/com/xdev/jadoth/sqlengine/interfaces/ColumnQualifier.java: -------------------------------------------------------------------------------- 1 | /* 2 | * XDEV Application Framework - XDEV Application Framework 3 | * Copyright © 2003 XDEV Software (https://xdev.software) 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU Lesser General Public License as published by 7 | * the Free Software Foundation, either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License 16 | * along with this program. If not, see . 17 | */ 18 | package com.xdev.jadoth.sqlengine.interfaces; 19 | 20 | /** 21 | * @author Thomas Muenz 22 | * 23 | */ 24 | public interface ColumnQualifier 25 | { 26 | public String qualifyColumnName(String unqualifiedColumnName); 27 | } 28 | -------------------------------------------------------------------------------- /src/main/java/com/xdev/jadoth/sqlengine/types/AssembableParamterizedQuery.java: -------------------------------------------------------------------------------- 1 | /* 2 | * XDEV Application Framework - XDEV Application Framework 3 | * Copyright © 2003 XDEV Software (https://xdev.software) 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU Lesser General Public License as published by 7 | * the Free Software Foundation, either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License 16 | * along with this program. If not, see . 17 | */ 18 | package com.xdev.jadoth.sqlengine.types; 19 | 20 | /** 21 | * @author Thomas Muenz 22 | * 23 | */ 24 | public interface AssembableParamterizedQuery 25 | { 26 | public String assemble(final T... parameters); 27 | } 28 | -------------------------------------------------------------------------------- /src/main/java/com/xdev/jadoth/sqlengine/types/ConditionalWritingTableQuery.java: -------------------------------------------------------------------------------- 1 | /* 2 | * XDEV Application Framework - XDEV Application Framework 3 | * Copyright © 2003 XDEV Software (https://xdev.software) 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU Lesser General Public License as published by 7 | * the Free Software Foundation, either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License 16 | * along with this program. If not, see . 17 | */ 18 | package com.xdev.jadoth.sqlengine.types; 19 | 20 | /** 21 | * @author Thomas Muenz 22 | * 23 | */ 24 | public interface ConditionalWritingTableQuery extends ConditionalTableQuery, WritingTableQuery 25 | { 26 | 27 | } 28 | -------------------------------------------------------------------------------- /src/main/java/com/xdev/jadoth/math/IntCoordinateManipulator.java: -------------------------------------------------------------------------------- 1 | /* 2 | * XDEV Application Framework - XDEV Application Framework 3 | * Copyright © 2003 XDEV Software (https://xdev.software) 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU Lesser General Public License as published by 7 | * the Free Software Foundation, either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License 16 | * along with this program. If not, see . 17 | */ 18 | package com.xdev.jadoth.math; 19 | 20 | /** 21 | * @author Thomas Muenz 22 | * 23 | */ 24 | public interface IntCoordinateManipulator 25 | { 26 | public void manipulateCoordinate(int x, int y) throws InvalidCoordinateException; 27 | } 28 | -------------------------------------------------------------------------------- /src/main/java/com/xdev/jadoth/sqlengine/types/TableReadingQuery.java: -------------------------------------------------------------------------------- 1 | /* 2 | * XDEV Application Framework - XDEV Application Framework 3 | * Copyright © 2003 XDEV Software (https://xdev.software) 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU Lesser General Public License as published by 7 | * the Free Software Foundation, either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License 16 | * along with this program. If not, see . 17 | */ 18 | package com.xdev.jadoth.sqlengine.types; 19 | 20 | import java.sql.ResultSet; 21 | 22 | /** 23 | * @author Thomas Muenz 24 | * 25 | */ 26 | public interface TableReadingQuery extends ValueReadingQuery 27 | { 28 | 29 | } 30 | -------------------------------------------------------------------------------- /src/main/java/com/xdev/jadoth/codegen/java/codeobjects/JavaCompilationObjectAttachment.java: -------------------------------------------------------------------------------- 1 | /* 2 | * XDEV Application Framework - XDEV Application Framework 3 | * Copyright © 2003 XDEV Software (https://xdev.software) 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU Lesser General Public License as published by 7 | * the Free Software Foundation, either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License 16 | * along with this program. If not, see . 17 | */ 18 | package com.xdev.jadoth.codegen.java.codeobjects; 19 | 20 | /** 21 | * @author Thomas Muenz 22 | * 23 | */ 24 | public interface JavaCompilationObjectAttachment extends JavaCodeObjectAttachment 25 | { 26 | 27 | } 28 | -------------------------------------------------------------------------------- /src/main/java/com/xdev/jadoth/codegen/java/codeobjects/JavaAnnotatedElementDefinition.java: -------------------------------------------------------------------------------- 1 | /* 2 | * XDEV Application Framework - XDEV Application Framework 3 | * Copyright © 2003 XDEV Software (https://xdev.software) 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU Lesser General Public License as published by 7 | * the Free Software Foundation, either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License 16 | * along with this program. If not, see . 17 | */ 18 | package com.xdev.jadoth.codegen.java.codeobjects; 19 | 20 | /** 21 | * @author Thomas Muenz 22 | * 23 | */ 24 | public interface JavaAnnotatedElementDefinition extends JavaAnnotatedElementDescription 25 | { 26 | 27 | } 28 | -------------------------------------------------------------------------------- /src/main/java/com/xdev/jadoth/codegen/java/codeobjects/JavaArrayType.java: -------------------------------------------------------------------------------- 1 | /* 2 | * XDEV Application Framework - XDEV Application Framework 3 | * Copyright © 2003 XDEV Software (https://xdev.software) 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU Lesser General Public License as published by 7 | * the Free Software Foundation, either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License 16 | * along with this program. If not, see . 17 | */ 18 | package com.xdev.jadoth.codegen.java.codeobjects; 19 | 20 | /** 21 | * @author Thomas Muenz 22 | * 23 | */ 24 | public interface JavaArrayType extends JavaTypeDescription 25 | { 26 | public JavaTypeDescription getComponentType(); 27 | } 28 | -------------------------------------------------------------------------------- /src/main/java/com/xdev/jadoth/sqlengine/interfaces/QueryEventPostExecution.java: -------------------------------------------------------------------------------- 1 | /* 2 | * XDEV Application Framework - XDEV Application Framework 3 | * Copyright © 2003 XDEV Software (https://xdev.software) 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU Lesser General Public License as published by 7 | * the Free Software Foundation, either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License 16 | * along with this program. If not, see . 17 | */ 18 | package com.xdev.jadoth.sqlengine.interfaces; 19 | 20 | /** 21 | * @author Thomas Muenz 22 | * 23 | */ 24 | public interface QueryEventPostExecution extends QueryEventPreExecution 25 | { 26 | public Object getResultValue(); 27 | } 28 | -------------------------------------------------------------------------------- /src/main/java/com/xdev/jadoth/sqlengine/interfaces/QueryEventPreExecution.java: -------------------------------------------------------------------------------- 1 | /* 2 | * XDEV Application Framework - XDEV Application Framework 3 | * Copyright © 2003 XDEV Software (https://xdev.software) 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU Lesser General Public License as published by 7 | * the Free Software Foundation, either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License 16 | * along with this program. If not, see . 17 | */ 18 | package com.xdev.jadoth.sqlengine.interfaces; 19 | 20 | /** 21 | * @author Thomas Muenz 22 | * 23 | */ 24 | public interface QueryEventPreExecution extends QueryEventPreAssembly 25 | { 26 | public String getAssembledQuery(); 27 | } 28 | -------------------------------------------------------------------------------- /src/main/java/com/xdev/jadoth/sqlengine/types/ConditionalTableReadingTableQuery.java: -------------------------------------------------------------------------------- 1 | /* 2 | * XDEV Application Framework - XDEV Application Framework 3 | * Copyright © 2003 XDEV Software (https://xdev.software) 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU Lesser General Public License as published by 7 | * the Free Software Foundation, either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License 16 | * along with this program. If not, see . 17 | */ 18 | package com.xdev.jadoth.sqlengine.types; 19 | 20 | /** 21 | * @author Thomas Muenz 22 | * 23 | */ 24 | public interface ConditionalTableReadingTableQuery extends TableReadingTableQuery, ConditionalTableQuery 25 | { 26 | 27 | } 28 | -------------------------------------------------------------------------------- /src/main/java/com/xdev/jadoth/codegen/java/codeobjects/JavaCodeAssembable.java: -------------------------------------------------------------------------------- 1 | /* 2 | * XDEV Application Framework - XDEV Application Framework 3 | * Copyright © 2003 XDEV Software (https://xdev.software) 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU Lesser General Public License as published by 7 | * the Free Software Foundation, either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License 16 | * along with this program. If not, see . 17 | */ 18 | package com.xdev.jadoth.codegen.java.codeobjects; 19 | 20 | /** 21 | * @author Thomas Muenz 22 | * 23 | */ 24 | public interface JavaCodeAssembable 25 | { 26 | public void assemble(StringBuilder sb, JavaCodeGenerator codeGenerator); 27 | } 28 | -------------------------------------------------------------------------------- /src/main/java/com/xdev/jadoth/identity/GenericIdentityResolver.java: -------------------------------------------------------------------------------- 1 | /* 2 | * XDEV Application Framework - XDEV Application Framework 3 | * Copyright © 2003 XDEV Software (https://xdev.software) 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU Lesser General Public License as published by 7 | * the Free Software Foundation, either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License 16 | * along with this program. If not, see . 17 | */ 18 | package com.xdev.jadoth.identity; 19 | 20 | /** 21 | * @author Thomas Muenz 22 | * 23 | */ 24 | public interface GenericIdentityResolver extends IdentityResolver> 25 | { 26 | public T resolveIdentity(Identity identity); 27 | } 28 | -------------------------------------------------------------------------------- /src/main/java/com/xdev/jadoth/lang/functional/Executing.java: -------------------------------------------------------------------------------- 1 | /* 2 | * XDEV Application Framework - XDEV Application Framework 3 | * Copyright © 2003 XDEV Software (https://xdev.software) 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU Lesser General Public License as published by 7 | * the Free Software Foundation, either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License 16 | * along with this program. If not, see . 17 | */ 18 | /** 19 | * 20 | */ 21 | package com.xdev.jadoth.lang.functional; 22 | 23 | 24 | 25 | /** 26 | * @author Thomas Muenz 27 | * 28 | */ 29 | public interface Executing> 30 | { 31 | public Executing execute(O operation); 32 | } 33 | -------------------------------------------------------------------------------- /src/main/java/com/xdev/jadoth/lang/functional/Processable.java: -------------------------------------------------------------------------------- 1 | /* 2 | * XDEV Application Framework - XDEV Application Framework 3 | * Copyright © 2003 XDEV Software (https://xdev.software) 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU Lesser General Public License as published by 7 | * the Free Software Foundation, either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License 16 | * along with this program. If not, see . 17 | */ 18 | /** 19 | * 20 | */ 21 | package com.xdev.jadoth.lang.functional; 22 | 23 | 24 | /** 25 | * @author Thomas Muenz 26 | * 27 | */ 28 | public interface Processable> 29 | { 30 | public Processable process(P processor); 31 | } 32 | -------------------------------------------------------------------------------- /src/main/java/com/xdev/jadoth/lang/reference/LinkingReference.java: -------------------------------------------------------------------------------- 1 | /* 2 | * XDEV Application Framework - XDEV Application Framework 3 | * Copyright © 2003 XDEV Software (https://xdev.software) 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU Lesser General Public License as published by 7 | * the Free Software Foundation, either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License 16 | * along with this program. If not, see . 17 | */ 18 | package com.xdev.jadoth.lang.reference; 19 | 20 | 21 | 22 | /** 23 | * @author Thomas Muenz 24 | * 25 | */ 26 | public interface LinkingReference extends Reference, LinkingReferencing 27 | { 28 | public LinkingReference next(); 29 | } 30 | -------------------------------------------------------------------------------- /src/main/java/xdev/ui/laf/LookAndFeel.java: -------------------------------------------------------------------------------- 1 | /* 2 | * XDEV Application Framework - XDEV Application Framework 3 | * Copyright © 2003 XDEV Software (https://xdev.software) 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU Lesser General Public License as published by 7 | * the Free Software Foundation, either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License 16 | * along with this program. If not, see . 17 | */ 18 | package xdev.ui.laf; 19 | 20 | 21 | import javax.swing.JFrame; 22 | 23 | 24 | public interface LookAndFeel 25 | { 26 | public void setLookAndFeel() throws LookAndFeelException; 27 | 28 | 29 | public void extendedStateWillChange(JFrame frame, int extendedState); 30 | } 31 | -------------------------------------------------------------------------------- /src/main/java/com/xdev/jadoth/lang/types/To_int.java: -------------------------------------------------------------------------------- 1 | /* 2 | * XDEV Application Framework - XDEV Application Framework 3 | * Copyright © 2003 XDEV Software (https://xdev.software) 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU Lesser General Public License as published by 7 | * the Free Software Foundation, either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License 16 | * along with this program. If not, see . 17 | */ 18 | package com.xdev.jadoth.lang.types; 19 | 20 | 21 | /** 22 | * The Interface To_int. 23 | * 24 | * @author Thomas Muenz 25 | */ 26 | public interface To_int 27 | { 28 | 29 | /** 30 | * To_int. 31 | * 32 | * @return the int 33 | */ 34 | int to_int(); 35 | } 36 | -------------------------------------------------------------------------------- /src/main/java/com/xdev/jadoth/sqlengine/internal/ColumnValueTuple.java: -------------------------------------------------------------------------------- 1 | /* 2 | * XDEV Application Framework - XDEV Application Framework 3 | * Copyright © 2003 XDEV Software (https://xdev.software) 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU Lesser General Public License as published by 7 | * the Free Software Foundation, either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License 16 | * along with this program. If not, see . 17 | */ 18 | /** 19 | * 20 | */ 21 | package com.xdev.jadoth.sqlengine.internal; 22 | 23 | /** 24 | * @author Thomas Muenz 25 | * 26 | */ 27 | public interface ColumnValueTuple 28 | { 29 | public SqlColumn getColumn(); 30 | 31 | public Object getValue(); 32 | } 33 | -------------------------------------------------------------------------------- /src/main/java/com/xdev/jadoth/codegen/java/codeobjects/JavaAnnotation.java: -------------------------------------------------------------------------------- 1 | /* 2 | * XDEV Application Framework - XDEV Application Framework 3 | * Copyright © 2003 XDEV Software (https://xdev.software) 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU Lesser General Public License as published by 7 | * the Free Software Foundation, either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License 16 | * along with this program. If not, see . 17 | */ 18 | package com.xdev.jadoth.codegen.java.codeobjects; 19 | 20 | /** 21 | * Represents an Annotation 22 | * @author Thomas Muenz 23 | * 24 | */ 25 | public interface JavaAnnotation extends JavaCompilationObject, JavaCodeObjectAttachment 26 | { 27 | 28 | } 29 | -------------------------------------------------------------------------------- /src/main/java/xdev/ui/LockingActivation.java: -------------------------------------------------------------------------------- 1 | /* 2 | * XDEV Application Framework - XDEV Application Framework 3 | * Copyright © 2003 XDEV Software (https://xdev.software) 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU Lesser General Public License as published by 7 | * the Free Software Foundation, either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License 16 | * along with this program. If not, see . 17 | */ 18 | package xdev.ui; 19 | 20 | 21 | /** 22 | * Enum to identifies lock strategy 23 | * 24 | * @author XDEV Software (MP) 25 | * @since 4.0 26 | * 27 | */ 28 | public enum LockingActivation 29 | { 30 | // TODO javadoc 31 | LockOnEdit, 32 | 33 | LockOnShow 34 | 35 | ; 36 | } 37 | -------------------------------------------------------------------------------- /src/main/java/com/xdev/jadoth/codegen/java/codeobjects/JavaConstructorDescription.java: -------------------------------------------------------------------------------- 1 | /* 2 | * XDEV Application Framework - XDEV Application Framework 3 | * Copyright © 2003 XDEV Software (https://xdev.software) 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU Lesser General Public License as published by 7 | * the Free Software Foundation, either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License 16 | * along with this program. If not, see . 17 | */ 18 | package com.xdev.jadoth.codegen.java.codeobjects; 19 | 20 | /** 21 | * @author Thomas Muenz 22 | * 23 | */ 24 | public interface JavaConstructorDescription extends JavaAccessibleObjectDescription, JavaCallableObjectDescription 25 | { 26 | 27 | } 28 | -------------------------------------------------------------------------------- /src/main/java/com/xdev/jadoth/lang/HashEqualator.java: -------------------------------------------------------------------------------- 1 | /* 2 | * XDEV Application Framework - XDEV Application Framework 3 | * Copyright © 2003 XDEV Software (https://xdev.software) 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU Lesser General Public License as published by 7 | * the Free Software Foundation, either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License 16 | * along with this program. If not, see . 17 | */ 18 | /** 19 | * 20 | */ 21 | package com.xdev.jadoth.lang; 22 | 23 | /** 24 | * @author TM 25 | * 26 | */ 27 | public interface HashEqualator extends Equalator, Hasher 28 | { 29 | public boolean equal(T object, T object2); 30 | 31 | public int hashCode(T object); 32 | } 33 | -------------------------------------------------------------------------------- /src/main/java/com/xdev/jadoth/lang/types/To_byte.java: -------------------------------------------------------------------------------- 1 | /* 2 | * XDEV Application Framework - XDEV Application Framework 3 | * Copyright © 2003 XDEV Software (https://xdev.software) 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU Lesser General Public License as published by 7 | * the Free Software Foundation, either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License 16 | * along with this program. If not, see . 17 | */ 18 | package com.xdev.jadoth.lang.types; 19 | 20 | 21 | /** 22 | * The Interface To_byte. 23 | * 24 | * @author Thomas Muenz 25 | */ 26 | public interface To_byte 27 | { 28 | 29 | /** 30 | * To_byte. 31 | * 32 | * @return the byte 33 | */ 34 | byte to_byte(); 35 | } 36 | -------------------------------------------------------------------------------- /src/main/java/com/xdev/jadoth/lang/types/To_char.java: -------------------------------------------------------------------------------- 1 | /* 2 | * XDEV Application Framework - XDEV Application Framework 3 | * Copyright © 2003 XDEV Software (https://xdev.software) 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU Lesser General Public License as published by 7 | * the Free Software Foundation, either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License 16 | * along with this program. If not, see . 17 | */ 18 | package com.xdev.jadoth.lang.types; 19 | 20 | 21 | /** 22 | * The Interface To_char. 23 | * 24 | * @author Thomas Muenz 25 | */ 26 | public interface To_char 27 | { 28 | 29 | /** 30 | * To_char. 31 | * 32 | * @return the char 33 | */ 34 | char to_char(); 35 | } 36 | -------------------------------------------------------------------------------- /src/main/java/com/xdev/jadoth/lang/types/To_long.java: -------------------------------------------------------------------------------- 1 | /* 2 | * XDEV Application Framework - XDEV Application Framework 3 | * Copyright © 2003 XDEV Software (https://xdev.software) 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU Lesser General Public License as published by 7 | * the Free Software Foundation, either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License 16 | * along with this program. If not, see . 17 | */ 18 | package com.xdev.jadoth.lang.types; 19 | 20 | 21 | /** 22 | * The Interface To_long. 23 | * 24 | * @author Thomas Muenz 25 | */ 26 | public interface To_long 27 | { 28 | 29 | /** 30 | * To_long. 31 | * 32 | * @return the long 33 | */ 34 | long to_long(); 35 | } 36 | -------------------------------------------------------------------------------- /src/main/java/xdev/ui/ClientPropertyAdapter.java: -------------------------------------------------------------------------------- 1 | /* 2 | * XDEV Application Framework - XDEV Application Framework 3 | * Copyright © 2003 XDEV Software (https://xdev.software) 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU Lesser General Public License as published by 7 | * the Free Software Foundation, either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License 16 | * along with this program. If not, see . 17 | */ 18 | package xdev.ui; 19 | 20 | 21 | /** 22 | * @deprecated not used anymore 23 | */ 24 | @Deprecated 25 | public interface ClientPropertyAdapter 26 | { 27 | public void putClientProperty(Object key, Object value); 28 | 29 | 30 | public Object getClientProperty(Object key); 31 | } 32 | -------------------------------------------------------------------------------- /src/main/java/com/xdev/jadoth/codegen/java/codeobjects/JavaGenericParametrizableObject.java: -------------------------------------------------------------------------------- 1 | /* 2 | * XDEV Application Framework - XDEV Application Framework 3 | * Copyright © 2003 XDEV Software (https://xdev.software) 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU Lesser General Public License as published by 7 | * the Free Software Foundation, either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License 16 | * along with this program. If not, see . 17 | */ 18 | package com.xdev.jadoth.codegen.java.codeobjects; 19 | 20 | /** 21 | * @author Thomas Muenz 22 | * 23 | */ 24 | public interface JavaGenericParametrizableObject 25 | { 26 | public Iterable iterateGenericParameters(); 27 | } 28 | -------------------------------------------------------------------------------- /src/main/java/com/xdev/jadoth/lang/types/To_float.java: -------------------------------------------------------------------------------- 1 | /* 2 | * XDEV Application Framework - XDEV Application Framework 3 | * Copyright © 2003 XDEV Software (https://xdev.software) 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU Lesser General Public License as published by 7 | * the Free Software Foundation, either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License 16 | * along with this program. If not, see . 17 | */ 18 | package com.xdev.jadoth.lang.types; 19 | 20 | 21 | /** 22 | * The Interface To_float. 23 | * 24 | * @author Thomas Muenz 25 | */ 26 | public interface To_float 27 | { 28 | 29 | /** 30 | * To_float. 31 | * 32 | * @return the float 33 | */ 34 | float to_float(); 35 | } 36 | -------------------------------------------------------------------------------- /src/main/java/com/xdev/jadoth/lang/types/To_short.java: -------------------------------------------------------------------------------- 1 | /* 2 | * XDEV Application Framework - XDEV Application Framework 3 | * Copyright © 2003 XDEV Software (https://xdev.software) 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU Lesser General Public License as published by 7 | * the Free Software Foundation, either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License 16 | * along with this program. If not, see . 17 | */ 18 | package com.xdev.jadoth.lang.types; 19 | 20 | 21 | /** 22 | * The Interface To_short. 23 | * 24 | * @author Thomas Muenz 25 | */ 26 | public interface To_short 27 | { 28 | 29 | /** 30 | * To_short. 31 | * 32 | * @return the short 33 | */ 34 | short to_short(); 35 | } 36 | -------------------------------------------------------------------------------- /src/main/java/xdev/lang/XdevObject.java: -------------------------------------------------------------------------------- 1 | /* 2 | * XDEV Application Framework - XDEV Application Framework 3 | * Copyright © 2003 XDEV Software (https://xdev.software) 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU Lesser General Public License as published by 7 | * the Free Software Foundation, either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License 16 | * along with this program. If not, see . 17 | */ 18 | package xdev.lang; 19 | 20 | 21 | /** 22 | * This class is used to identify the correct binding of the XDEV jars in the 23 | * classpath. 24 | * 25 | * @author XDEV Software Corp. 26 | * 27 | */ 28 | 29 | public final class XdevObject 30 | { 31 | private XdevObject() 32 | { 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /src/main/java/com/xdev/jadoth/lang/types/ToByte.java: -------------------------------------------------------------------------------- 1 | /* 2 | * XDEV Application Framework - XDEV Application Framework 3 | * Copyright © 2003 XDEV Software (https://xdev.software) 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU Lesser General Public License as published by 7 | * the Free Software Foundation, either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License 16 | * along with this program. If not, see . 17 | */ 18 | package com.xdev.jadoth.lang.types; 19 | 20 | 21 | /** 22 | * The Interface ToByte. 23 | * 24 | * @author Thomas Muenz 25 | */ 26 | public interface ToByte extends ToNumber 27 | { 28 | 29 | /** 30 | * To byte. 31 | * 32 | * @return the byte 33 | */ 34 | Byte toByte(); 35 | } 36 | -------------------------------------------------------------------------------- /src/main/java/com/xdev/jadoth/lang/types/ToLong.java: -------------------------------------------------------------------------------- 1 | /* 2 | * XDEV Application Framework - XDEV Application Framework 3 | * Copyright © 2003 XDEV Software (https://xdev.software) 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU Lesser General Public License as published by 7 | * the Free Software Foundation, either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License 16 | * along with this program. If not, see . 17 | */ 18 | package com.xdev.jadoth.lang.types; 19 | 20 | 21 | /** 22 | * The Interface ToLong. 23 | * 24 | * @author Thomas Muenz 25 | */ 26 | public interface ToLong extends ToNumber 27 | { 28 | 29 | /** 30 | * To long. 31 | * 32 | * @return the long 33 | */ 34 | Long toLong(); 35 | } 36 | -------------------------------------------------------------------------------- /src/main/java/com/xdev/jadoth/lang/types/ToNumber.java: -------------------------------------------------------------------------------- 1 | /* 2 | * XDEV Application Framework - XDEV Application Framework 3 | * Copyright © 2003 XDEV Software (https://xdev.software) 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU Lesser General Public License as published by 7 | * the Free Software Foundation, either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License 16 | * along with this program. If not, see . 17 | */ 18 | package com.xdev.jadoth.lang.types; 19 | 20 | 21 | /** 22 | * The Interface ToNumber. 23 | * 24 | * @author Thomas Muenz 25 | */ 26 | public interface ToNumber 27 | { 28 | 29 | /** 30 | * To number. 31 | * 32 | * @return the number 33 | */ 34 | Number toNumber(); 35 | } 36 | -------------------------------------------------------------------------------- /src/main/java/com/xdev/jadoth/lang/functional/controlflow/TExecuting.java: -------------------------------------------------------------------------------- 1 | /* 2 | * XDEV Application Framework - XDEV Application Framework 3 | * Copyright © 2003 XDEV Software (https://xdev.software) 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU Lesser General Public License as published by 7 | * the Free Software Foundation, either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License 16 | * along with this program. If not, see . 17 | */ 18 | /** 19 | * 20 | */ 21 | package com.xdev.jadoth.lang.functional.controlflow; 22 | 23 | 24 | 25 | /** 26 | * @author Thomas Muenz 27 | * 28 | */ 29 | public interface TExecuting> 30 | { 31 | public TExecuting execute(O operation); 32 | } 33 | -------------------------------------------------------------------------------- /src/main/java/com/xdev/jadoth/lang/types/ToBoolean.java: -------------------------------------------------------------------------------- 1 | /* 2 | * XDEV Application Framework - XDEV Application Framework 3 | * Copyright © 2003 XDEV Software (https://xdev.software) 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU Lesser General Public License as published by 7 | * the Free Software Foundation, either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License 16 | * along with this program. If not, see . 17 | */ 18 | package com.xdev.jadoth.lang.types; 19 | 20 | 21 | /** 22 | * The Interface ToBoolean. 23 | * 24 | * @author Thomas Muenz 25 | */ 26 | public interface ToBoolean 27 | { 28 | 29 | /** 30 | * To boolean. 31 | * 32 | * @return the boolean 33 | */ 34 | Boolean toBoolean(); 35 | } 36 | -------------------------------------------------------------------------------- /src/main/java/com/xdev/jadoth/lang/types/To_double.java: -------------------------------------------------------------------------------- 1 | /* 2 | * XDEV Application Framework - XDEV Application Framework 3 | * Copyright © 2003 XDEV Software (https://xdev.software) 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU Lesser General Public License as published by 7 | * the Free Software Foundation, either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License 16 | * along with this program. If not, see . 17 | */ 18 | package com.xdev.jadoth.lang.types; 19 | 20 | 21 | /** 22 | * The Interface To_double. 23 | * 24 | * @author Thomas Muenz 25 | */ 26 | public interface To_double 27 | { 28 | 29 | /** 30 | * To_double. 31 | * 32 | * @return the double 33 | */ 34 | double to_double(); 35 | } 36 | -------------------------------------------------------------------------------- /src/main/java/com/xdev/jadoth/sqlengine/aspects/QueryExecutionAspect.java: -------------------------------------------------------------------------------- 1 | /* 2 | * XDEV Application Framework - XDEV Application Framework 3 | * Copyright © 2003 XDEV Software (https://xdev.software) 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU Lesser General Public License as published by 7 | * the Free Software Foundation, either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License 16 | * along with this program. If not, see . 17 | */ 18 | package com.xdev.jadoth.sqlengine.aspects; 19 | 20 | import com.xdev.jadoth.lang.aspects.Aspect; 21 | 22 | /** 23 | * @author Thomas Muenz 24 | * 25 | */ 26 | public interface QueryExecutionAspect, R> extends Aspect 27 | { 28 | 29 | } 30 | -------------------------------------------------------------------------------- /src/main/java/com/xdev/jadoth/lang/functional/controlflow/TProcessable.java: -------------------------------------------------------------------------------- 1 | /* 2 | * XDEV Application Framework - XDEV Application Framework 3 | * Copyright © 2003 XDEV Software (https://xdev.software) 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU Lesser General Public License as published by 7 | * the Free Software Foundation, either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License 16 | * along with this program. If not, see . 17 | */ 18 | /** 19 | * 20 | */ 21 | package com.xdev.jadoth.lang.functional.controlflow; 22 | 23 | 24 | 25 | /** 26 | * @author Thomas Muenz 27 | * 28 | */ 29 | public interface TProcessable> 30 | { 31 | public TProcessable process(P processor); 32 | } 33 | -------------------------------------------------------------------------------- /src/main/java/com/xdev/jadoth/lang/reference/_byteReference.java: -------------------------------------------------------------------------------- 1 | /* 2 | * XDEV Application Framework - XDEV Application Framework 3 | * Copyright © 2003 XDEV Software (https://xdev.software) 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU Lesser General Public License as published by 7 | * the Free Software Foundation, either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License 16 | * along with this program. If not, see . 17 | */ 18 | package com.xdev.jadoth.lang.reference; 19 | 20 | /** 21 | * @author Thomas Muenz 22 | * 23 | */ 24 | public class _byteReference 25 | { 26 | public byte value; 27 | 28 | public _byteReference(final byte value) 29 | { 30 | super(); 31 | this.value = value; 32 | } 33 | 34 | } 35 | -------------------------------------------------------------------------------- /src/main/java/com/xdev/jadoth/lang/reference/_charReference.java: -------------------------------------------------------------------------------- 1 | /* 2 | * XDEV Application Framework - XDEV Application Framework 3 | * Copyright © 2003 XDEV Software (https://xdev.software) 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU Lesser General Public License as published by 7 | * the Free Software Foundation, either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License 16 | * along with this program. If not, see . 17 | */ 18 | package com.xdev.jadoth.lang.reference; 19 | 20 | /** 21 | * @author Thomas Muenz 22 | * 23 | */ 24 | public class _charReference 25 | { 26 | public char value; 27 | 28 | public _charReference(final char value) 29 | { 30 | super(); 31 | this.value = value; 32 | } 33 | 34 | } 35 | -------------------------------------------------------------------------------- /src/main/java/com/xdev/jadoth/lang/reference/_longReference.java: -------------------------------------------------------------------------------- 1 | /* 2 | * XDEV Application Framework - XDEV Application Framework 3 | * Copyright © 2003 XDEV Software (https://xdev.software) 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU Lesser General Public License as published by 7 | * the Free Software Foundation, either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License 16 | * along with this program. If not, see . 17 | */ 18 | package com.xdev.jadoth.lang.reference; 19 | 20 | /** 21 | * @author Thomas Muenz 22 | * 23 | */ 24 | public class _longReference 25 | { 26 | public long value; 27 | 28 | public _longReference(final long value) 29 | { 30 | super(); 31 | this.value = value; 32 | } 33 | 34 | } 35 | -------------------------------------------------------------------------------- /src/main/java/com/xdev/jadoth/lang/types/ToFloat.java: -------------------------------------------------------------------------------- 1 | /* 2 | * XDEV Application Framework - XDEV Application Framework 3 | * Copyright © 2003 XDEV Software (https://xdev.software) 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU Lesser General Public License as published by 7 | * the Free Software Foundation, either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License 16 | * along with this program. If not, see . 17 | */ 18 | package com.xdev.jadoth.lang.types; 19 | 20 | 21 | /** 22 | * The Interface ToFloat. 23 | * 24 | * @author Thomas Muenz 25 | */ 26 | public interface ToFloat extends ToNumber 27 | { 28 | 29 | /** 30 | * To float. 31 | * 32 | * @return the float 33 | */ 34 | Float toFloat(); 35 | } 36 | -------------------------------------------------------------------------------- /src/main/java/com/xdev/jadoth/lang/types/ToShort.java: -------------------------------------------------------------------------------- 1 | /* 2 | * XDEV Application Framework - XDEV Application Framework 3 | * Copyright © 2003 XDEV Software (https://xdev.software) 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU Lesser General Public License as published by 7 | * the Free Software Foundation, either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License 16 | * along with this program. If not, see . 17 | */ 18 | package com.xdev.jadoth.lang.types; 19 | 20 | 21 | /** 22 | * The Interface ToShort. 23 | * 24 | * @author Thomas Muenz 25 | */ 26 | public interface ToShort extends ToNumber 27 | { 28 | 29 | /** 30 | * To short. 31 | * 32 | * @return the short 33 | */ 34 | Short toShort(); 35 | } 36 | -------------------------------------------------------------------------------- /src/main/java/com/xdev/jadoth/lang/reference/_floatReference.java: -------------------------------------------------------------------------------- 1 | /* 2 | * XDEV Application Framework - XDEV Application Framework 3 | * Copyright © 2003 XDEV Software (https://xdev.software) 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU Lesser General Public License as published by 7 | * the Free Software Foundation, either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License 16 | * along with this program. If not, see . 17 | */ 18 | package com.xdev.jadoth.lang.reference; 19 | 20 | /** 21 | * @author Thomas Muenz 22 | * 23 | */ 24 | public class _floatReference 25 | { 26 | public float value; 27 | 28 | public _floatReference(final float value) 29 | { 30 | super(); 31 | this.value = value; 32 | } 33 | 34 | } 35 | -------------------------------------------------------------------------------- /src/main/java/com/xdev/jadoth/lang/reference/_shortReference.java: -------------------------------------------------------------------------------- 1 | /* 2 | * XDEV Application Framework - XDEV Application Framework 3 | * Copyright © 2003 XDEV Software (https://xdev.software) 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU Lesser General Public License as published by 7 | * the Free Software Foundation, either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License 16 | * along with this program. If not, see . 17 | */ 18 | package com.xdev.jadoth.lang.reference; 19 | 20 | /** 21 | * @author Thomas Muenz 22 | * 23 | */ 24 | public class _shortReference 25 | { 26 | public short value; 27 | 28 | public _shortReference(final short value) 29 | { 30 | super(); 31 | this.value = value; 32 | } 33 | 34 | } 35 | -------------------------------------------------------------------------------- /src/main/java/com/xdev/jadoth/lang/types/ToDouble.java: -------------------------------------------------------------------------------- 1 | /* 2 | * XDEV Application Framework - XDEV Application Framework 3 | * Copyright © 2003 XDEV Software (https://xdev.software) 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU Lesser General Public License as published by 7 | * the Free Software Foundation, either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License 16 | * along with this program. If not, see . 17 | */ 18 | package com.xdev.jadoth.lang.types; 19 | 20 | 21 | /** 22 | * The Interface ToDouble. 23 | * 24 | * @author Thomas Muenz 25 | */ 26 | public interface ToDouble extends ToNumber 27 | { 28 | 29 | /** 30 | * To double. 31 | * 32 | * @return the double 33 | */ 34 | Double toDouble(); 35 | } 36 | -------------------------------------------------------------------------------- /src/main/java/com/xdev/jadoth/sqlengine/interfaces/QueryEventSQLException.java: -------------------------------------------------------------------------------- 1 | /* 2 | * XDEV Application Framework - XDEV Application Framework 3 | * Copyright © 2003 XDEV Software (https://xdev.software) 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU Lesser General Public License as published by 7 | * the Free Software Foundation, either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License 16 | * along with this program. If not, see . 17 | */ 18 | package com.xdev.jadoth.sqlengine.interfaces; 19 | 20 | import java.sql.SQLException; 21 | 22 | /** 23 | * @author Thomas Muenz 24 | * 25 | */ 26 | public interface QueryEventSQLException extends QueryEventPostExecution 27 | { 28 | public SQLException getSQLException(); 29 | } 30 | -------------------------------------------------------------------------------- /src/main/java/xdev/db/locking/UserIdentifier.java: -------------------------------------------------------------------------------- 1 | /* 2 | * XDEV Application Framework - XDEV Application Framework 3 | * Copyright © 2003 XDEV Software (https://xdev.software) 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU Lesser General Public License as published by 7 | * the Free Software Foundation, either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License 16 | * along with this program. If not, see . 17 | */ 18 | package xdev.db.locking; 19 | 20 | 21 | /** 22 | * To identifies user. 23 | * 24 | * @author XDEV Software (RHHF) 25 | * @since 4.0 26 | * 27 | */ 28 | public interface UserIdentifier 29 | { 30 | /** 31 | * Get userId. 32 | * 33 | * @return userId 34 | */ 35 | public long getUserId(); 36 | } 37 | -------------------------------------------------------------------------------- /src/main/java/xdev/ui/listbox/ListModelWrapperLookup.java: -------------------------------------------------------------------------------- 1 | /* 2 | * XDEV Application Framework - XDEV Application Framework 3 | * Copyright © 2003 XDEV Software (https://xdev.software) 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU Lesser General Public License as published by 7 | * the Free Software Foundation, either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License 16 | * along with this program. If not, see . 17 | */ 18 | package xdev.ui.listbox; 19 | 20 | 21 | import javax.swing.ListModel; 22 | 23 | 24 | /** 25 | * 26 | * @author XDEV Software 27 | * @since 3.1 28 | */ 29 | public interface ListModelWrapperLookup 30 | { 31 | public ListModel lookupListModel(ListModel outerModel, Class innerModelClass); 32 | } 33 | -------------------------------------------------------------------------------- /src/main/java/com/xdev/jadoth/codegen/java/codeobjects/JavaConstructorDefinition.java: -------------------------------------------------------------------------------- 1 | /* 2 | * XDEV Application Framework - XDEV Application Framework 3 | * Copyright © 2003 XDEV Software (https://xdev.software) 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU Lesser General Public License as published by 7 | * the Free Software Foundation, either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License 16 | * along with this program. If not, see . 17 | */ 18 | package com.xdev.jadoth.codegen.java.codeobjects; 19 | 20 | /** 21 | * @author Thomas Muenz 22 | * 23 | */ 24 | public interface JavaConstructorDefinition 25 | extends JavaConstructorDescription, JavaAccessibleObjectDefinition, JavaCallableObjectDefinition 26 | { 27 | 28 | } 29 | -------------------------------------------------------------------------------- /src/main/java/com/xdev/jadoth/lang/reference/_doubleReference.java: -------------------------------------------------------------------------------- 1 | /* 2 | * XDEV Application Framework - XDEV Application Framework 3 | * Copyright © 2003 XDEV Software (https://xdev.software) 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU Lesser General Public License as published by 7 | * the Free Software Foundation, either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License 16 | * along with this program. If not, see . 17 | */ 18 | package com.xdev.jadoth.lang.reference; 19 | 20 | /** 21 | * @author Thomas Muenz 22 | * 23 | */ 24 | public class _doubleReference 25 | { 26 | public double value; 27 | 28 | public _doubleReference(final double value) 29 | { 30 | super(); 31 | this.value = value; 32 | } 33 | 34 | } 35 | -------------------------------------------------------------------------------- /src/main/java/com/xdev/jadoth/lang/types/To_boolean.java: -------------------------------------------------------------------------------- 1 | /* 2 | * XDEV Application Framework - XDEV Application Framework 3 | * Copyright © 2003 XDEV Software (https://xdev.software) 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU Lesser General Public License as published by 7 | * the Free Software Foundation, either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License 16 | * along with this program. If not, see . 17 | */ 18 | package com.xdev.jadoth.lang.types; 19 | 20 | 21 | /** 22 | * The Interface To_boolean. 23 | * 24 | * @author Thomas Muenz 25 | */ 26 | public interface To_boolean 27 | { 28 | 29 | /** 30 | * To_boolean. 31 | * 32 | * @return true, if successful 33 | */ 34 | boolean to_boolean(); 35 | } 36 | -------------------------------------------------------------------------------- /src/main/java/com/xdev/jadoth/lang/reference/_booleanReference.java: -------------------------------------------------------------------------------- 1 | /* 2 | * XDEV Application Framework - XDEV Application Framework 3 | * Copyright © 2003 XDEV Software (https://xdev.software) 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU Lesser General Public License as published by 7 | * the Free Software Foundation, either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License 16 | * along with this program. If not, see . 17 | */ 18 | package com.xdev.jadoth.lang.reference; 19 | 20 | /** 21 | * @author Thomas Muenz 22 | * 23 | */ 24 | public class _booleanReference 25 | { 26 | public boolean value; 27 | 28 | public _booleanReference(final boolean value) 29 | { 30 | super(); 31 | this.value = value; 32 | } 33 | 34 | } 35 | -------------------------------------------------------------------------------- /src/main/java/com/xdev/jadoth/lang/types/ToInteger.java: -------------------------------------------------------------------------------- 1 | /* 2 | * XDEV Application Framework - XDEV Application Framework 3 | * Copyright © 2003 XDEV Software (https://xdev.software) 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU Lesser General Public License as published by 7 | * the Free Software Foundation, either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License 16 | * along with this program. If not, see . 17 | */ 18 | package com.xdev.jadoth.lang.types; 19 | 20 | 21 | /** 22 | * The Interface ToInteger. 23 | * 24 | * @author Thomas Muenz 25 | */ 26 | public interface ToInteger extends ToNumber 27 | { 28 | 29 | /** 30 | * To integer. 31 | * 32 | * @return the integer 33 | */ 34 | Integer toInteger(); 35 | } 36 | -------------------------------------------------------------------------------- /src/main/java/com/xdev/jadoth/sqlengine/dbms/SQLFlagger.java: -------------------------------------------------------------------------------- 1 | /* 2 | * XDEV Application Framework - XDEV Application Framework 3 | * Copyright © 2003 XDEV Software (https://xdev.software) 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU Lesser General Public License as published by 7 | * the Free Software Foundation, either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License 16 | * along with this program. If not, see . 17 | */ 18 | package com.xdev.jadoth.sqlengine.dbms; 19 | 20 | 21 | /** 22 | * SQLFlagger provide a possibility to modify a SQL query with DBMS-specific additional information 23 | * (like flags for query optimisation). 24 | * 25 | * @author Thomas Muenz 26 | */ 27 | public interface SQLFlagger 28 | { 29 | 30 | } 31 | -------------------------------------------------------------------------------- /src/main/java/xdev/lang/Prototype.java: -------------------------------------------------------------------------------- 1 | /* 2 | * XDEV Application Framework - XDEV Application Framework 3 | * Copyright © 2003 XDEV Software (https://xdev.software) 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU Lesser General Public License as published by 7 | * the Free Software Foundation, either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License 16 | * along with this program. If not, see . 17 | */ 18 | package xdev.lang; 19 | 20 | 21 | /** 22 | * A program element annotated @Prototype is one that programmers are 23 | * discouraged from using, typically because it is not finished yet, or not 24 | * properly testet. 25 | * 26 | * @author XDEV Software Corp. 27 | * 28 | */ 29 | public @interface Prototype 30 | { 31 | } 32 | -------------------------------------------------------------------------------- /src/main/java/xdev/ui/table/TableModelWrapperLookup.java: -------------------------------------------------------------------------------- 1 | /* 2 | * XDEV Application Framework - XDEV Application Framework 3 | * Copyright © 2003 XDEV Software (https://xdev.software) 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU Lesser General Public License as published by 7 | * the Free Software Foundation, either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License 16 | * along with this program. If not, see . 17 | */ 18 | package xdev.ui.table; 19 | 20 | 21 | import javax.swing.table.TableModel; 22 | 23 | 24 | /** 25 | * 26 | * @author XDEV Software 27 | * @since 3.1 28 | */ 29 | public interface TableModelWrapperLookup 30 | { 31 | public TableModel lookupTableModel(TableModel outerModel, Class innerModelClass); 32 | } 33 | -------------------------------------------------------------------------------- /src/test/java/xdev/lang/AssertCopyable.java: -------------------------------------------------------------------------------- 1 | /* 2 | * XDEV Application Framework - XDEV Application Framework 3 | * Copyright © 2003 XDEV Software (https://xdev.software) 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU Lesser General Public License as published by 7 | * the Free Software Foundation, either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License 16 | * along with this program. If not, see . 17 | */ 18 | package xdev.lang; 19 | 20 | import org.junit.Assert; 21 | import org.junit.Ignore; 22 | 23 | 24 | @Ignore 25 | public class AssertCopyable 26 | { 27 | public static > void assertClone(T original) 28 | { 29 | T clone = original.clone(); 30 | Assert.assertEquals(clone, original); 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /src/main/java/xdev/lang/Study.java: -------------------------------------------------------------------------------- 1 | /* 2 | * XDEV Application Framework - XDEV Application Framework 3 | * Copyright © 2003 XDEV Software (https://xdev.software) 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU Lesser General Public License as published by 7 | * the Free Software Foundation, either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License 16 | * along with this program. If not, see . 17 | */ 18 | package xdev.lang; 19 | 20 | 21 | /** 22 | * A program element annotated @Study is one that programmers are 23 | * discouraged from using, typically because it is not public API, untestet or 24 | * just for studying purposes. 25 | * 26 | * @author XDEV Software Corp. 27 | * 28 | */ 29 | public @interface Study 30 | { 31 | } 32 | -------------------------------------------------------------------------------- /src/main/java/com/xdev/jadoth/codegen/java/codeobjects/JavaCodeHolder.java: -------------------------------------------------------------------------------- 1 | /* 2 | * XDEV Application Framework - XDEV Application Framework 3 | * Copyright © 2003 XDEV Software (https://xdev.software) 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU Lesser General Public License as published by 7 | * the Free Software Foundation, either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License 16 | * along with this program. If not, see . 17 | */ 18 | package com.xdev.jadoth.codegen.java.codeobjects; 19 | 20 | /** 21 | * @author Thomas Muenz 22 | * 23 | */ 24 | public interface JavaCodeHolder extends JavaClassMemberDefinition 25 | { 26 | public JavaBlock getCodeBlock(); 27 | 28 | public JavaCodeHolder code(CharSequence... code); 29 | 30 | } 31 | -------------------------------------------------------------------------------- /src/main/java/com/xdev/jadoth/collections/MapEntryProvider.java: -------------------------------------------------------------------------------- 1 | /* 2 | * XDEV Application Framework - XDEV Application Framework 3 | * Copyright © 2003 XDEV Software (https://xdev.software) 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU Lesser General Public License as published by 7 | * the Free Software Foundation, either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License 16 | * along with this program. If not, see . 17 | */ 18 | /** 19 | * 20 | */ 21 | package com.xdev.jadoth.collections; 22 | 23 | /** 24 | * @author Thomas Muenz 25 | * 26 | */ 27 | public interface MapEntryProvider 28 | { 29 | public IdentityMapEntry createEntry(final int hash, final K key, final V value); 30 | 31 | public int hash(Object key); 32 | } 33 | -------------------------------------------------------------------------------- /src/main/java/com/xdev/jadoth/lang/types/ToCharacter.java: -------------------------------------------------------------------------------- 1 | /* 2 | * XDEV Application Framework - XDEV Application Framework 3 | * Copyright © 2003 XDEV Software (https://xdev.software) 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU Lesser General Public License as published by 7 | * the Free Software Foundation, either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License 16 | * along with this program. If not, see . 17 | */ 18 | package com.xdev.jadoth.lang.types; 19 | 20 | 21 | /** 22 | * The Interface ToCharacter. 23 | * 24 | * @author Thomas Muenz 25 | */ 26 | public interface ToCharacter extends ToNumber 27 | { 28 | 29 | /** 30 | * To character. 31 | * 32 | * @return the character 33 | */ 34 | Character toCharacter(); 35 | } 36 | -------------------------------------------------------------------------------- /src/main/java/com/xdev/jadoth/codegen/java/codeobjects/JavaMethodDescription.java: -------------------------------------------------------------------------------- 1 | /* 2 | * XDEV Application Framework - XDEV Application Framework 3 | * Copyright © 2003 XDEV Software (https://xdev.software) 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU Lesser General Public License as published by 7 | * the Free Software Foundation, either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License 16 | * along with this program. If not, see . 17 | */ 18 | package com.xdev.jadoth.codegen.java.codeobjects; 19 | 20 | 21 | /** 22 | * @author Thomas Muenz 23 | * 24 | */ 25 | public interface JavaMethodDescription 26 | extends JavaCallableObjectDescription, JavaTypedCodeObject, JavaGenericParametrizableObject, JavaTypeMemberDescription 27 | { 28 | 29 | } 30 | -------------------------------------------------------------------------------- /src/main/java/com/xdev/jadoth/codegen/java/codeobjects/JavaTypedCodeObject.java: -------------------------------------------------------------------------------- 1 | /* 2 | * XDEV Application Framework - XDEV Application Framework 3 | * Copyright © 2003 XDEV Software (https://xdev.software) 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU Lesser General Public License as published by 7 | * the Free Software Foundation, either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License 16 | * along with this program. If not, see . 17 | */ 18 | package com.xdev.jadoth.codegen.java.codeobjects; 19 | 20 | /** 21 | * (Variable,) Field, Parameter, Method 22 | * @author Thomas Muenz 23 | * 24 | */ 25 | public interface JavaTypedCodeObject extends JavaModifierableCompilationObjectDefinition 26 | { 27 | public JavaTypeDescription getType(); 28 | } 29 | -------------------------------------------------------------------------------- /src/main/java/xdev/ui/combobox/ComboBoxModelWrapperLookup.java: -------------------------------------------------------------------------------- 1 | /* 2 | * XDEV Application Framework - XDEV Application Framework 3 | * Copyright © 2003 XDEV Software (https://xdev.software) 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU Lesser General Public License as published by 7 | * the Free Software Foundation, either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License 16 | * along with this program. If not, see . 17 | */ 18 | package xdev.ui.combobox; 19 | 20 | 21 | import javax.swing.ComboBoxModel; 22 | 23 | 24 | /** 25 | * 26 | * @author XDEV Software 27 | * @since 3.1 28 | */ 29 | public interface ComboBoxModelWrapperLookup 30 | { 31 | public ComboBoxModel lookupComboBoxModel(ComboBoxModel outerModel, Class innerModelClass); 32 | } 33 | -------------------------------------------------------------------------------- /src/test/java/xdev/util/dummies/StringComparer.java: -------------------------------------------------------------------------------- 1 | /* 2 | * XDEV Application Framework - XDEV Application Framework 3 | * Copyright © 2003 XDEV Software (https://xdev.software) 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU Lesser General Public License as published by 7 | * the Free Software Foundation, either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License 16 | * along with this program. If not, see . 17 | */ 18 | package xdev.util.dummies; 19 | 20 | import org.junit.Ignore; 21 | 22 | import xdev.util.Comparer; 23 | 24 | 25 | @Ignore 26 | public class StringComparer implements Comparer 27 | { 28 | 29 | @Override 30 | public boolean equals(String obj1, String obj2) 31 | { 32 | return obj1.equals(obj2); 33 | } 34 | 35 | } 36 | -------------------------------------------------------------------------------- /src/main/java/com/xdev/jadoth/identity/IdentityReceivingContext.java: -------------------------------------------------------------------------------- 1 | /* 2 | * XDEV Application Framework - XDEV Application Framework 3 | * Copyright © 2003 XDEV Software (https://xdev.software) 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU Lesser General Public License as published by 7 | * the Free Software Foundation, either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License 16 | * along with this program. If not, see . 17 | */ 18 | package com.xdev.jadoth.identity; 19 | 20 | /** 21 | * Objects of this type can have an Identity of type I set for the context they stand for. 22 | * @author Thomas Muenz 23 | * 24 | */ 25 | public interface IdentityReceivingContext 26 | { 27 | public void setContextIdentity(Identity identity); 28 | } 29 | -------------------------------------------------------------------------------- /src/main/java/com/xdev/jadoth/sqlengine/aspects/QueryExecutionContext.java: -------------------------------------------------------------------------------- 1 | /* 2 | * XDEV Application Framework - XDEV Application Framework 3 | * Copyright © 2003 XDEV Software (https://xdev.software) 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU Lesser General Public License as published by 7 | * the Free Software Foundation, either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License 16 | * along with this program. If not, see . 17 | */ 18 | package com.xdev.jadoth.sqlengine.aspects; 19 | 20 | import com.xdev.jadoth.sqlengine.types.Query; 21 | 22 | /** 23 | * @author Thomas Muenz 24 | * 25 | */ 26 | public interface QueryExecutionContext extends JdbcExecutionContext 27 | { 28 | public Query getQuery(); 29 | public Object[] getAssemblyParameters(); 30 | 31 | } 32 | -------------------------------------------------------------------------------- /src/main/java/xdev/ui/paging/ItemListPageControl.java: -------------------------------------------------------------------------------- 1 | /* 2 | * XDEV Application Framework - XDEV Application Framework 3 | * Copyright © 2003 XDEV Software (https://xdev.software) 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU Lesser General Public License as published by 7 | * the Free Software Foundation, either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License 16 | * along with this program. If not, see . 17 | */ 18 | package xdev.ui.paging; 19 | 20 | 21 | import javax.swing.JComponent; 22 | 23 | 24 | /** 25 | * 26 | * @author XDEV Software 27 | * @since 4.0 28 | */ 29 | public abstract class ItemListPageControl

extends AbstractPageControl

30 | { 31 | public ItemListPageControl(P pageable) 32 | { 33 | super(pageable); 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /src/main/java/com/xdev/jadoth/identity/IdentityContext.java: -------------------------------------------------------------------------------- 1 | /* 2 | * XDEV Application Framework - XDEV Application Framework 3 | * Copyright © 2003 XDEV Software (https://xdev.software) 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU Lesser General Public License as published by 7 | * the Free Software Foundation, either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License 16 | * along with this program. If not, see . 17 | */ 18 | package com.xdev.jadoth.identity; 19 | 20 | /** 21 | * Objects of this type can have an Identity of type I set for the context they stand for. 22 | * @author Thomas Muenz 23 | * 24 | */ 25 | public interface IdentityContext extends IdentityReceivingContext 26 | { 27 | public Identity getContextIdentity(); 28 | } 29 | -------------------------------------------------------------------------------- /src/main/java/com/xdev/jadoth/sqlengine/types/ValueReadingQuery.java: -------------------------------------------------------------------------------- 1 | /* 2 | * XDEV Application Framework - XDEV Application Framework 3 | * Copyright © 2003 XDEV Software (https://xdev.software) 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU Lesser General Public License as published by 7 | * the Free Software Foundation, either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License 16 | * along with this program. If not, see . 17 | */ 18 | package com.xdev.jadoth.sqlengine.types; 19 | 20 | import com.xdev.jadoth.sqlengine.exceptions.SQLEngineException; 21 | 22 | /** 23 | * @author Thomas Muenz 24 | * 25 | */ 26 | public interface ValueReadingQuery extends Query 27 | { 28 | @Override 29 | public R execute(final Object... parameters) throws SQLEngineException; 30 | 31 | } 32 | -------------------------------------------------------------------------------- /src/main/java/xdev/io/event/SocketEvent.java: -------------------------------------------------------------------------------- 1 | /* 2 | * XDEV Application Framework - XDEV Application Framework 3 | * Copyright © 2003 XDEV Software (https://xdev.software) 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU Lesser General Public License as published by 7 | * the Free Software Foundation, either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License 16 | * along with this program. If not, see . 17 | */ 18 | package xdev.io.event; 19 | 20 | 21 | import java.util.*; 22 | 23 | 24 | public class SocketEvent extends EventObject 25 | { 26 | private int port; 27 | 28 | 29 | public SocketEvent(Object source, int port) 30 | { 31 | super(source); 32 | 33 | this.port = port; 34 | } 35 | 36 | 37 | public int getPort() 38 | { 39 | return port; 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /src/main/java/com/xdev/jadoth/util/file/FileProcessor.java: -------------------------------------------------------------------------------- 1 | /* 2 | * XDEV Application Framework - XDEV Application Framework 3 | * Copyright © 2003 XDEV Software (https://xdev.software) 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU Lesser General Public License as published by 7 | * the Free Software Foundation, either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License 16 | * along with this program. If not, see . 17 | */ 18 | package com.xdev.jadoth.util.file; 19 | 20 | import java.io.File; 21 | 22 | 23 | /** 24 | * The Interface FileProcessor. 25 | * 26 | * @author Thomas Muenz 27 | */ 28 | public interface FileProcessor 29 | { 30 | 31 | /** 32 | * Process file. 33 | * 34 | * @param file the file 35 | */ 36 | public void processFile(File file); 37 | 38 | } 39 | -------------------------------------------------------------------------------- /src/main/java/xdev/db/locking/LockTimeoutEvent.java: -------------------------------------------------------------------------------- 1 | /* 2 | * XDEV Application Framework - XDEV Application Framework 3 | * Copyright © 2003 XDEV Software (https://xdev.software) 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU Lesser General Public License as published by 7 | * the Free Software Foundation, either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License 16 | * along with this program. If not, see . 17 | */ 18 | package xdev.db.locking; 19 | 20 | 21 | import java.util.EventObject; 22 | 23 | 24 | /** 25 | * LockTimeoutEvent. 26 | * 27 | * @author XDEV Software (RHHF) 28 | * @since 4.0 29 | * 30 | */ 31 | public class LockTimeoutEvent extends EventObject 32 | { 33 | 34 | public LockTimeoutEvent(Object source) 35 | { 36 | super(source); 37 | } 38 | 39 | } 40 | -------------------------------------------------------------------------------- /src/main/java/xdev/ui/laf/AbstractLookAndFeel.java: -------------------------------------------------------------------------------- 1 | /* 2 | * XDEV Application Framework - XDEV Application Framework 3 | * Copyright © 2003 XDEV Software (https://xdev.software) 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU Lesser General Public License as published by 7 | * the Free Software Foundation, either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License 16 | * along with this program. If not, see . 17 | */ 18 | package xdev.ui.laf; 19 | 20 | 21 | import javax.swing.JFrame; 22 | 23 | 24 | /** 25 | * 26 | * @author XDEV Software 27 | * @since 3.2 28 | */ 29 | public abstract class AbstractLookAndFeel implements LookAndFeel 30 | { 31 | @Override 32 | public void extendedStateWillChange(JFrame frame, int extendedState) 33 | { 34 | // do nothing by default 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /src/main/java/com/xdev/jadoth/sqlengine/internal/ColumnValueAssignment.java: -------------------------------------------------------------------------------- 1 | /* 2 | * XDEV Application Framework - XDEV Application Framework 3 | * Copyright © 2003 XDEV Software (https://xdev.software) 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU Lesser General Public License as published by 7 | * the Free Software Foundation, either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License 16 | * along with this program. If not, see . 17 | */ 18 | /** 19 | * 20 | */ 21 | package com.xdev.jadoth.sqlengine.internal; 22 | 23 | 24 | /** 25 | * @author Thomas Muenz 26 | * 27 | */ 28 | //public class ColumnValueAssignment extends QueryPart implements ColumnValueTuple 29 | public interface ColumnValueAssignment extends ColumnValueTuple 30 | { 31 | public void setValue(Object value); 32 | 33 | } 34 | -------------------------------------------------------------------------------- /src/main/java/com/xdev/jadoth/codegen/java/codeobjects/JavaTypeMemberDefinition.java: -------------------------------------------------------------------------------- 1 | /* 2 | * XDEV Application Framework - XDEV Application Framework 3 | * Copyright © 2003 XDEV Software (https://xdev.software) 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU Lesser General Public License as published by 7 | * the Free Software Foundation, either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License 16 | * along with this program. If not, see . 17 | */ 18 | package com.xdev.jadoth.codegen.java.codeobjects; 19 | 20 | /** 21 | * @author Thomas Muenz 22 | * 23 | */ 24 | public interface JavaTypeMemberDefinition extends JavaTypeMemberDescription, JavaCodeAssembable 25 | { 26 | public void registerAtOwner(JavaTypeDefinition javaClass); 27 | public void setOwner(JavaTypeDefinition javaClass); 28 | 29 | } 30 | -------------------------------------------------------------------------------- /src/main/java/xdev/ui/ItemListOwner.java: -------------------------------------------------------------------------------- 1 | /* 2 | * XDEV Application Framework - XDEV Application Framework 3 | * Copyright © 2003 XDEV Software (https://xdev.software) 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU Lesser General Public License as published by 7 | * the Free Software Foundation, either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License 16 | * along with this program. If not, see . 17 | */ 18 | package xdev.ui; 19 | 20 | 21 | /** 22 | * Identifies objects as a holder or user of a {@link ItemList}. 23 | * 24 | * @author XDEV Software 25 | */ 26 | public interface ItemListOwner 27 | { 28 | /** 29 | * Returns the associated {@link ItemList} of this object. 30 | * 31 | * @return The associated {@link ItemList} of this object. 32 | */ 33 | public ItemList getItemList(); 34 | } 35 | -------------------------------------------------------------------------------- /src/main/java/com/xdev/jadoth/codegen/java/codeobjects/JavaAccessibleObjectDefinition.java: -------------------------------------------------------------------------------- 1 | /* 2 | * XDEV Application Framework - XDEV Application Framework 3 | * Copyright © 2003 XDEV Software (https://xdev.software) 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU Lesser General Public License as published by 7 | * the Free Software Foundation, either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License 16 | * along with this program. If not, see . 17 | */ 18 | package com.xdev.jadoth.codegen.java.codeobjects; 19 | 20 | 21 | 22 | /** 23 | * Represents an AccessibleObject (super class of Field, Method and Constructor) 24 | * @author Thomas Muenz 25 | * 26 | */ 27 | public interface JavaAccessibleObjectDefinition 28 | extends JavaAccessibleObjectDescription, JavaClassMemberDefinition 29 | { 30 | 31 | } 32 | -------------------------------------------------------------------------------- /src/main/java/com/xdev/jadoth/lang/functional/aggregates/Aggregate.java: -------------------------------------------------------------------------------- 1 | /* 2 | * XDEV Application Framework - XDEV Application Framework 3 | * Copyright © 2003 XDEV Software (https://xdev.software) 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU Lesser General Public License as published by 7 | * the Free Software Foundation, either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License 16 | * along with this program. If not, see . 17 | */ 18 | package com.xdev.jadoth.lang.functional.aggregates; 19 | 20 | import com.xdev.jadoth.lang.functional.Operation; 21 | 22 | /** 23 | * @author Thomas Muenz 24 | * 25 | */ 26 | public interface Aggregate extends Operation 27 | { 28 | @Override 29 | public void execute(E element); 30 | 31 | public R yield(); 32 | 33 | public Aggregate reset(); 34 | } 35 | -------------------------------------------------------------------------------- /src/main/java/com/xdev/jadoth/sqlengine/interfaces/AssembableSqlExpression.java: -------------------------------------------------------------------------------- 1 | /* 2 | * XDEV Application Framework - XDEV Application Framework 3 | * Copyright © 2003 XDEV Software (https://xdev.software) 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU Lesser General Public License as published by 7 | * the Free Software Foundation, either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License 16 | * along with this program. If not, see . 17 | */ 18 | package com.xdev.jadoth.sqlengine.interfaces; 19 | 20 | import com.xdev.jadoth.sqlengine.dbms.DbmsDMLAssembler; 21 | 22 | /** 23 | * @author Thomas Muenz 24 | * 25 | */ 26 | public interface AssembableSqlExpression 27 | { 28 | public StringBuilder assemble( 29 | DbmsDMLAssembler dmlAssembler, StringBuilder sb, int indentLevel, int flags 30 | ); 31 | } 32 | -------------------------------------------------------------------------------- /src/main/java/xdev/ui/XdevToolBarSeparator.java: -------------------------------------------------------------------------------- 1 | /* 2 | * XDEV Application Framework - XDEV Application Framework 3 | * Copyright © 2003 XDEV Software (https://xdev.software) 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU Lesser General Public License as published by 7 | * the Free Software Foundation, either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License 16 | * along with this program. If not, see . 17 | */ 18 | package xdev.ui; 19 | 20 | 21 | import javax.swing.JToolBar; 22 | 23 | 24 | @BeanSettings(useXdevCustomizer = true) 25 | public class XdevToolBarSeparator extends JToolBar.Separator 26 | { 27 | public XdevToolBarSeparator() 28 | { 29 | super(); 30 | } 31 | 32 | 33 | public XdevToolBarSeparator(int orientation) 34 | { 35 | super(); 36 | setOrientation(orientation); 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /src/main/java/com/xdev/jadoth/codegen/java/codeobjects/JavaAccessibleObjectDescription.java: -------------------------------------------------------------------------------- 1 | /* 2 | * XDEV Application Framework - XDEV Application Framework 3 | * Copyright © 2003 XDEV Software (https://xdev.software) 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU Lesser General Public License as published by 7 | * the Free Software Foundation, either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License 16 | * along with this program. If not, see . 17 | */ 18 | package com.xdev.jadoth.codegen.java.codeobjects; 19 | 20 | 21 | 22 | /** 23 | * Represents an AccessibleObject (super class of Field, Method and Constructor) 24 | * @author Thomas Muenz 25 | * 26 | */ 27 | public interface JavaAccessibleObjectDescription 28 | extends JavaClassMemberDescription, JavaAnnotatedElementDescription 29 | { 30 | 31 | } 32 | -------------------------------------------------------------------------------- /src/main/java/com/xdev/jadoth/codegen/java/codeobjects/JavaTypeMemberDescription.java: -------------------------------------------------------------------------------- 1 | /* 2 | * XDEV Application Framework - XDEV Application Framework 3 | * Copyright © 2003 XDEV Software (https://xdev.software) 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU Lesser General Public License as published by 7 | * the Free Software Foundation, either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License 16 | * along with this program. If not, see . 17 | */ 18 | package com.xdev.jadoth.codegen.java.codeobjects; 19 | 20 | import java.lang.reflect.Member; 21 | 22 | /** 23 | * @author Thomas Muenz 24 | * 25 | */ 26 | public interface JavaTypeMemberDescription extends JavaModifierableCompilationObjectDescription, Member 27 | { 28 | public JavaTypeDescription getOwnerType(); 29 | 30 | public int getNestingLevel(); 31 | } 32 | -------------------------------------------------------------------------------- /src/main/java/com/xdev/jadoth/collections/Collecting.java: -------------------------------------------------------------------------------- 1 | /* 2 | * XDEV Application Framework - XDEV Application Framework 3 | * Copyright © 2003 XDEV Software (https://xdev.software) 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU Lesser General Public License as published by 7 | * the Free Software Foundation, either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License 16 | * along with this program. If not, see . 17 | */ 18 | package com.xdev.jadoth.collections; 19 | 20 | /** 21 | * @author Thomas Muenz 22 | * 23 | */ 24 | public interface Collecting 25 | { 26 | /** 27 | * Add the passed element to be added to this Collecting instance.
28 | * Returns true if this instance has been changed as a consequence of the call. 29 | * @param e 30 | * @return 31 | */ 32 | public boolean add(E e); 33 | } 34 | -------------------------------------------------------------------------------- /src/main/java/xdev/ui/XdevPage.java: -------------------------------------------------------------------------------- 1 | /* 2 | * XDEV Application Framework - XDEV Application Framework 3 | * Copyright © 2003 XDEV Software (https://xdev.software) 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU Lesser General Public License as published by 7 | * the Free Software Foundation, either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License 16 | * along with this program. If not, see . 17 | */ 18 | package xdev.ui; 19 | 20 | 21 | import java.awt.LayoutManager; 22 | 23 | 24 | /** 25 | * @deprecated replaced by {@link XdevWindow}, will be removed in a future 26 | * release 27 | */ 28 | @Deprecated 29 | public class XdevPage extends XdevWindow 30 | { 31 | public XdevPage() 32 | { 33 | super(); 34 | } 35 | 36 | 37 | public XdevPage(LayoutManager layout) 38 | { 39 | super(layout); 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /src/main/java/com/xdev/jadoth/codegen/java/codeobjects/JavaClassMemberDescription.java: -------------------------------------------------------------------------------- 1 | /* 2 | * XDEV Application Framework - XDEV Application Framework 3 | * Copyright © 2003 XDEV Software (https://xdev.software) 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU Lesser General Public License as published by 7 | * the Free Software Foundation, either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License 16 | * along with this program. If not, see . 17 | */ 18 | package com.xdev.jadoth.codegen.java.codeobjects; 19 | 20 | /** 21 | * Represents a Java member. A member is a {@link JavaCompilationObject} that belongs to a {@link JavaCompilationUnit}. 22 | * 23 | * @author Thomas Muenz 24 | * 25 | */ 26 | public interface JavaClassMemberDescription extends JavaCompilationObject 27 | { 28 | public JavaClassDefinition getOwnerClass(); 29 | } 30 | -------------------------------------------------------------------------------- /src/main/java/com/xdev/jadoth/cql/CqlAggregator.java: -------------------------------------------------------------------------------- 1 | /* 2 | * XDEV Application Framework - XDEV Application Framework 3 | * Copyright © 2003 XDEV Software (https://xdev.software) 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU Lesser General Public License as published by 7 | * the Free Software Foundation, either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License 16 | * along with this program. If not, see . 17 | */ 18 | package com.xdev.jadoth.cql; 19 | 20 | import com.xdev.jadoth.collections.Collecting; 21 | import com.xdev.jadoth.lang.Equalator; 22 | 23 | /** 24 | * @author Thomas Muenz 25 | * 26 | */ 27 | public interface CqlAggregator> extends CqlProjector 28 | { 29 | public boolean aggregate(E element, Equalator equalator); 30 | 31 | public CqlAggregator reset(); 32 | 33 | } 34 | -------------------------------------------------------------------------------- /src/main/java/com/xdev/jadoth/codegen/java/JavaSourceDefinable.java: -------------------------------------------------------------------------------- 1 | /* 2 | * XDEV Application Framework - XDEV Application Framework 3 | * Copyright © 2003 XDEV Software (https://xdev.software) 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU Lesser General Public License as published by 7 | * the Free Software Foundation, either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License 16 | * along with this program. If not, see . 17 | */ 18 | package com.xdev.jadoth.codegen.java; 19 | 20 | 21 | /** 22 | * The Interface JavaSourceDefinable. 23 | * 24 | * @author Thomas Muenz 25 | */ 26 | public interface JavaSourceDefinable { 27 | 28 | /** 29 | * Assemble java source definition. 30 | * 31 | * @param sb the sb 32 | * @return the string builder 33 | */ 34 | public StringBuilder assembleJavaSourceDefinition(StringBuilder sb); 35 | 36 | } 37 | -------------------------------------------------------------------------------- /src/main/java/com/xdev/jadoth/lang/aspects/Aspect.java: -------------------------------------------------------------------------------- 1 | /* 2 | * XDEV Application Framework - XDEV Application Framework 3 | * Copyright © 2003 XDEV Software (https://xdev.software) 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU Lesser General Public License as published by 7 | * the Free Software Foundation, either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License 16 | * along with this program. If not, see . 17 | */ 18 | package com.xdev.jadoth.lang.aspects; 19 | 20 | import com.xdev.jadoth.lang.signalthrows.ThrowBreak; 21 | import com.xdev.jadoth.lang.signalthrows.ThrowContinue; 22 | import com.xdev.jadoth.lang.signalthrows.ThrowReturn; 23 | 24 | /** 25 | * @author Thomas Muenz 26 | * 27 | */ 28 | public interface Aspect 29 | { 30 | public Object invoke(C context) throws ThrowBreak, ThrowContinue, ThrowReturn; 31 | } 32 | -------------------------------------------------------------------------------- /src/main/java/com/xdev/jadoth/lang/functional/iterables/RandomArrayIterator.java: -------------------------------------------------------------------------------- 1 | /* 2 | * XDEV Application Framework - XDEV Application Framework 3 | * Copyright © 2003 XDEV Software (https://xdev.software) 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU Lesser General Public License as published by 7 | * the Free Software Foundation, either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License 16 | * along with this program. If not, see . 17 | */ 18 | package com.xdev.jadoth.lang.functional.iterables; 19 | 20 | /** 21 | * @author Thomas Muenz 22 | * 23 | */ 24 | public class RandomArrayIterator //implements Iterator 25 | { 26 | private final E[] array; 27 | 28 | int count; 29 | 30 | public RandomArrayIterator(final E[] array, final int count) 31 | { 32 | super(); 33 | this.array = array; 34 | this.count = count; 35 | } 36 | 37 | } 38 | -------------------------------------------------------------------------------- /src/main/java/xdev/db/locking/LockTimeoutListener.java: -------------------------------------------------------------------------------- 1 | /* 2 | * XDEV Application Framework - XDEV Application Framework 3 | * Copyright © 2003 XDEV Software (https://xdev.software) 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU Lesser General Public License as published by 7 | * the Free Software Foundation, either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License 16 | * along with this program. If not, see . 17 | */ 18 | package xdev.db.locking; 19 | 20 | 21 | import java.util.EventListener; 22 | 23 | 24 | /** 25 | * EventListener to get informed about lock timeout. 26 | * 27 | * @author XDEV Software (RHHF) 28 | * @since 4.0 29 | * 30 | */ 31 | public interface LockTimeoutListener extends EventListener 32 | { 33 | 34 | public void timeoutImminent(LockTimeoutEvent e); 35 | 36 | 37 | public long getNotificationThreshold(); 38 | } 39 | -------------------------------------------------------------------------------- /src/main/java/com/xdev/jadoth/codegen/java/codeobjects/JavaCallableObjectDescription.java: -------------------------------------------------------------------------------- 1 | /* 2 | * XDEV Application Framework - XDEV Application Framework 3 | * Copyright © 2003 XDEV Software (https://xdev.software) 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU Lesser General Public License as published by 7 | * the Free Software Foundation, either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License 16 | * along with this program. If not, see . 17 | */ 18 | package com.xdev.jadoth.codegen.java.codeobjects; 19 | 20 | /** 21 | * Method, Constructor 22 | * @author Thomas Muenz 23 | * 24 | */ 25 | public interface JavaCallableObjectDescription 26 | extends JavaAccessibleObjectDescription, JavaClassMemberDescription 27 | { 28 | public Iterable iterateParameters(); 29 | public Iterable iterateDeclaredThrowables(); 30 | } 31 | -------------------------------------------------------------------------------- /src/main/java/com/xdev/jadoth/codegen/java/codeobjects/JavaCommentLine.java: -------------------------------------------------------------------------------- 1 | /* 2 | * XDEV Application Framework - XDEV Application Framework 3 | * Copyright © 2003 XDEV Software (https://xdev.software) 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU Lesser General Public License as published by 7 | * the Free Software Foundation, either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License 16 | * along with this program. If not, see . 17 | */ 18 | package com.xdev.jadoth.codegen.java.codeobjects; 19 | 20 | /** 21 | * @author Thomas Muenz 22 | * 23 | */ 24 | public interface JavaCommentLine extends JavaComment 25 | { 26 | public class Implementation extends JavaComment.Implementation implements JavaCommentLine 27 | { 28 | 29 | public Implementation(final String commentString) 30 | { 31 | super(commentString); 32 | } 33 | 34 | } 35 | 36 | } 37 | -------------------------------------------------------------------------------- /src/main/java/com/xdev/jadoth/util/strings/AppendableAssembable.java: -------------------------------------------------------------------------------- 1 | /* 2 | * XDEV Application Framework - XDEV Application Framework 3 | * Copyright © 2003 XDEV Software (https://xdev.software) 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU Lesser General Public License as published by 7 | * the Free Software Foundation, either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License 16 | * along with this program. If not, see . 17 | */ 18 | package com.xdev.jadoth.util.strings; 19 | 20 | /** 21 | * The Interface AppendableAssembable. 22 | * 23 | * @param the generic type 24 | * @author Thomas Muenz 25 | */ 26 | public interface AppendableAssembable 27 | { 28 | /** 29 | * Assemble string. 30 | * 31 | * @param appendable the appendable 32 | * @return the a 33 | */ 34 | public A assembleString(A appendable); 35 | 36 | } 37 | -------------------------------------------------------------------------------- /src/main/java/xdev/ui/laf/MetallLookAndFeel.java: -------------------------------------------------------------------------------- 1 | /* 2 | * XDEV Application Framework - XDEV Application Framework 3 | * Copyright © 2003 XDEV Software (https://xdev.software) 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU Lesser General Public License as published by 7 | * the Free Software Foundation, either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License 16 | * along with this program. If not, see . 17 | */ 18 | package xdev.ui.laf; 19 | 20 | 21 | import javax.swing.UIManager; 22 | 23 | 24 | public class MetallLookAndFeel extends AbstractLookAndFeel 25 | { 26 | @Override 27 | public void setLookAndFeel() throws LookAndFeelException 28 | { 29 | try 30 | { 31 | UIManager.setLookAndFeel(UIManager.getCrossPlatformLookAndFeelClassName()); 32 | } 33 | catch(Exception e) 34 | { 35 | throw new LookAndFeelException(e); 36 | } 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /src/main/java/com/xdev/jadoth/sqlengine/annotations/ReferenceColumn.java: -------------------------------------------------------------------------------- 1 | /* 2 | * XDEV Application Framework - XDEV Application Framework 3 | * Copyright © 2003 XDEV Software (https://xdev.software) 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU Lesser General Public License as published by 7 | * the Free Software Foundation, either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License 16 | * along with this program. If not, see . 17 | */ 18 | package com.xdev.jadoth.sqlengine.annotations; 19 | 20 | import java.lang.annotation.ElementType; 21 | import java.lang.annotation.Retention; 22 | import java.lang.annotation.RetentionPolicy; 23 | import java.lang.annotation.Target; 24 | 25 | 26 | 27 | /** 28 | * The Interface ReferenceColumn. 29 | */ 30 | @Retention(RetentionPolicy.RUNTIME) 31 | @Target({ElementType.FIELD}) 32 | public @interface ReferenceColumn { 33 | } 34 | -------------------------------------------------------------------------------- /src/main/java/xdev/lang/Nullable.java: -------------------------------------------------------------------------------- 1 | /* 2 | * XDEV Application Framework - XDEV Application Framework 3 | * Copyright © 2003 XDEV Software (https://xdev.software) 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU Lesser General Public License as published by 7 | * the Free Software Foundation, either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License 16 | * along with this program. If not, see . 17 | */ 18 | package xdev.lang; 19 | 20 | 21 | import java.lang.annotation.*; 22 | 23 | 24 | /** 25 | * A program element annotated @Nullable may have or return a 26 | * null value and should be null-checked before it is used. 27 | * 28 | * @author XDEV Software Corp. 29 | * 30 | */ 31 | 32 | @Target({ElementType.FIELD,ElementType.PARAMETER,ElementType.METHOD}) 33 | @Retention(RetentionPolicy.RUNTIME) 34 | public @interface Nullable 35 | { 36 | } 37 | -------------------------------------------------------------------------------- /src/main/java/com/xdev/jadoth/codegen/java/codeobjects/JavaClassMemberDefinition.java: -------------------------------------------------------------------------------- 1 | /* 2 | * XDEV Application Framework - XDEV Application Framework 3 | * Copyright © 2003 XDEV Software (https://xdev.software) 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU Lesser General Public License as published by 7 | * the Free Software Foundation, either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License 16 | * along with this program. If not, see . 17 | */ 18 | package com.xdev.jadoth.codegen.java.codeobjects; 19 | 20 | /** 21 | * Represents a Java member. A member is a {@link JavaCompilationObject} that belongs to a {@link JavaCompilationUnit}. 22 | * 23 | * @author Thomas Muenz 24 | * 25 | */ 26 | public interface JavaClassMemberDefinition extends JavaClassMemberDescription, JavaCodeAssembable 27 | { 28 | public boolean setOwner(JavaClassDefinition javaClass); 29 | } 30 | -------------------------------------------------------------------------------- /src/main/java/com/xdev/jadoth/sqlengine/exceptions/NoDatabaseConnectionFoundException.java: -------------------------------------------------------------------------------- 1 | /* 2 | * XDEV Application Framework - XDEV Application Framework 3 | * Copyright © 2003 XDEV Software (https://xdev.software) 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU Lesser General Public License as published by 7 | * the Free Software Foundation, either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License 16 | * along with this program. If not, see . 17 | */ 18 | package com.xdev.jadoth.sqlengine.exceptions; 19 | 20 | 21 | 22 | /** 23 | * The Class NoDatabaseConnectionFoundException. 24 | * 25 | * @author Thomas Muenz 26 | */ 27 | public class NoDatabaseConnectionFoundException extends SQLEngineException { 28 | 29 | /** The Constant serialVersionUID. */ 30 | private static final long serialVersionUID = -6809786966137871167L; 31 | 32 | 33 | 34 | 35 | 36 | 37 | } 38 | -------------------------------------------------------------------------------- /src/main/java/com/xdev/jadoth/lang/Copyable.java: -------------------------------------------------------------------------------- 1 | /* 2 | * XDEV Application Framework - XDEV Application Framework 3 | * Copyright © 2003 XDEV Software (https://xdev.software) 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU Lesser General Public License as published by 7 | * the Free Software Foundation, either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License 16 | * along with this program. If not, see . 17 | */ 18 | /** 19 | * 20 | */ 21 | package com.xdev.jadoth.lang; 22 | 23 | /** 24 | * Copyable objects can create copies of themselves that will behave exacely as they do.
25 | * This does not neccessarily mean that all data is copied. E.g. fields that do internal caching and are set on 26 | * demand could be left out in the copy process. 27 | * 28 | * @author Thomas Muenz 29 | * 30 | */ 31 | public interface Copyable 32 | { 33 | public Copyable copy(); 34 | } 35 | -------------------------------------------------------------------------------- /src/main/java/xdev/ui/locking/LockRenovator.java: -------------------------------------------------------------------------------- 1 | /* 2 | * XDEV Application Framework - XDEV Application Framework 3 | * Copyright © 2003 XDEV Software (https://xdev.software) 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU Lesser General Public License as published by 7 | * the Free Software Foundation, either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License 16 | * along with this program. If not, see . 17 | */ 18 | package xdev.ui.locking; 19 | 20 | 21 | import xdev.db.locking.PessimisticLock; 22 | 23 | 24 | /** 25 | * Renovator for regenerating a {@link PessimisticLock}s duration. 26 | * 27 | * @author XDEV Software jwill 28 | * @since 4.0 29 | */ 30 | public interface LockRenovator 31 | { 32 | /** 33 | * Regenerates the given lock. 34 | * 35 | * @param lock 36 | * the lock to regenerate. 37 | */ 38 | void renovateLock(PessimisticLock lock); 39 | } 40 | -------------------------------------------------------------------------------- /src/main/java/com/xdev/jadoth/lang/functional/controlflow/_intControllingProcessor.java: -------------------------------------------------------------------------------- 1 | /* 2 | * XDEV Application Framework - XDEV Application Framework 3 | * Copyright © 2003 XDEV Software (https://xdev.software) 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU Lesser General Public License as published by 7 | * the Free Software Foundation, either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License 16 | * along with this program. If not, see . 17 | */ 18 | package com.xdev.jadoth.lang.functional.controlflow; 19 | 20 | import com.xdev.jadoth.lang.signalthrows.ThrowBreak; 21 | import com.xdev.jadoth.lang.signalthrows.ThrowContinue; 22 | import com.xdev.jadoth.lang.signalthrows.ThrowReturn; 23 | 24 | 25 | /** 26 | * @author Thomas Muenz 27 | * 28 | */ 29 | public interface _intControllingProcessor 30 | { 31 | public void process(int i) throws ThrowBreak, ThrowContinue, ThrowReturn; 32 | } 33 | -------------------------------------------------------------------------------- /src/main/java/xdev/ui/DatePopupOwner.java: -------------------------------------------------------------------------------- 1 | /* 2 | * XDEV Application Framework - XDEV Application Framework 3 | * Copyright © 2003 XDEV Software (https://xdev.software) 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU Lesser General Public License as published by 7 | * the Free Software Foundation, either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public License 16 | * along with this program. If not, see . 17 | */ 18 | package xdev.ui; 19 | 20 | 21 | import java.awt.Component; 22 | 23 | import xdev.ui.text.TextFormat; 24 | 25 | 26 | public interface DatePopupOwner 27 | { 28 | public DatePopupCustomizer getDatePopupCustomizer(); 29 | 30 | 31 | public TextFormat getTextFormat(); 32 | 33 | 34 | public Component getComponentForDatePopup(); 35 | 36 | 37 | public String getText(); 38 | 39 | 40 | public void setText(String text); 41 | 42 | 43 | public void hideDatePopup(); 44 | } 45 | --------------------------------------------------------------------------------