Showing preview only (2,569K chars total). Download the full file or copy to clipboard to get everything.
Repository: ksatria/MK-Design-Pattern
Branch: master
Commit: 1804d0e3557f
Files: 222
Total size: 2.4 MB
Directory structure:
gitextract_5y_q5xrd/
├── .gitattributes
├── .gitignore
├── Bagan Organisasi Materi.vsdx
├── Code/
│ ├── Abstract/
│ │ ├── UML.mdj
│ │ ├── build.xml
│ │ ├── manifest.mf
│ │ ├── nbproject/
│ │ │ ├── build-impl.xml
│ │ │ ├── genfiles.properties
│ │ │ ├── project.properties
│ │ │ └── project.xml
│ │ └── src/
│ │ └── pkgabstract/
│ │ ├── Abstract.java
│ │ ├── Asian.java
│ │ ├── Human.java
│ │ └── Skill.java
│ ├── Adapter/
│ │ ├── build.xml
│ │ ├── manifest.mf
│ │ ├── nbproject/
│ │ │ ├── build-impl.xml
│ │ │ ├── genfiles.properties
│ │ │ ├── project.properties
│ │ │ └── project.xml
│ │ └── src/
│ │ └── adapter/
│ │ ├── Adapter.java
│ │ ├── AdapterElektronik.java
│ │ ├── Gadget.java
│ │ ├── Handphone.java
│ │ ├── PenanakNasi.java
│ │ ├── PeralatanElektronik.java
│ │ └── Smartphone.java
│ ├── Choc-O-Holic/
│ │ ├── build.xml
│ │ ├── manifest.mf
│ │ ├── nbproject/
│ │ │ ├── build-impl.xml
│ │ │ ├── genfiles.properties
│ │ │ ├── project.properties
│ │ │ └── project.xml
│ │ └── src/
│ │ └── chocoholic/
│ │ ├── ChocOHolic.java
│ │ └── ChocolateBoiler.java
│ ├── Chocolate/
│ │ ├── build.xml
│ │ ├── manifest.mf
│ │ ├── nbproject/
│ │ │ ├── build-impl.xml
│ │ │ ├── genfiles.properties
│ │ │ ├── project.properties
│ │ │ └── project.xml
│ │ └── src/
│ │ └── chocolate/
│ │ ├── Chocolate.java
│ │ └── ChocolateBoiler.java
│ ├── Command/
│ │ ├── UML.mdj
│ │ ├── build.xml
│ │ ├── manifest.mf
│ │ ├── nbproject/
│ │ │ ├── build-impl.xml
│ │ │ ├── genfiles.properties
│ │ │ ├── project.properties
│ │ │ └── project.xml
│ │ └── src/
│ │ └── command/
│ │ ├── Client.java
│ │ ├── Command.java
│ │ ├── GarageDoor.java
│ │ ├── GarageDoorOpenCommand.java
│ │ ├── Light.java
│ │ ├── LightOnCommand.java
│ │ ├── SimpleRemoteControl.java
│ │ ├── Television.java
│ │ └── TelevisionPlayCommand.java
│ ├── Duck/
│ │ ├── MiniDuckSimulator/
│ │ │ ├── build.xml
│ │ │ ├── manifest.mf
│ │ │ ├── nbproject/
│ │ │ │ ├── build-impl.xml
│ │ │ │ ├── genfiles.properties
│ │ │ │ ├── project.properties
│ │ │ │ └── project.xml
│ │ │ └── src/
│ │ │ └── miniducksimulator/
│ │ │ ├── Duck.java
│ │ │ ├── FlyBehaviour.java
│ │ │ ├── FlyNoWay.java
│ │ │ ├── FlyRocketPowered.java
│ │ │ ├── FlyWithWings.java
│ │ │ ├── MallardDuck.java
│ │ │ ├── MiniDuckSimulator.java
│ │ │ ├── ModelDuck.java
│ │ │ ├── MuteQuack.java
│ │ │ ├── Quack.java
│ │ │ ├── QuackBehaviour.java
│ │ │ ├── Squeak.java
│ │ │ └── WoodenDuck.java
│ │ └── UML.mdj
│ ├── HomeTheater/
│ │ ├── build.xml
│ │ ├── manifest.mf
│ │ ├── nbproject/
│ │ │ ├── build-impl.xml
│ │ │ ├── genfiles.properties
│ │ │ ├── project.properties
│ │ │ └── project.xml
│ │ └── src/
│ │ └── hometheater/
│ │ ├── Amplifier.java
│ │ ├── DVDPlayer.java
│ │ ├── HomeTheater.java
│ │ ├── LampuRuangan.java
│ │ ├── Layar.java
│ │ ├── PopcornPopper.java
│ │ ├── Proyektor.java
│ │ ├── RemoteControl.java
│ │ └── Sound.java
│ ├── JualPermenKaret/
│ │ ├── build.xml
│ │ ├── manifest.mf
│ │ ├── nbproject/
│ │ │ ├── build-impl.xml
│ │ │ ├── genfiles.properties
│ │ │ ├── project.properties
│ │ │ └── project.xml
│ │ └── src/
│ │ └── jualpermenkaret/
│ │ ├── JualPermenKaret.java
│ │ ├── MesinPermenKaret.java
│ │ ├── State.java
│ │ ├── StateAdaKoin.java
│ │ ├── StatePermenKaretHabis.java
│ │ ├── StatePermenKaretTerjual.java
│ │ ├── StateTerjualDenganBonus.java
│ │ └── StateTidakAdaKoin.java
│ ├── Kingdom/
│ │ ├── Kingdom/
│ │ │ ├── build.xml
│ │ │ ├── manifest.mf
│ │ │ ├── nbproject/
│ │ │ │ ├── build-impl.xml
│ │ │ │ ├── genfiles.properties
│ │ │ │ ├── project.properties
│ │ │ │ └── project.xml
│ │ │ └── src/
│ │ │ └── kingdom/
│ │ │ ├── King.java
│ │ │ ├── KingdomCharacter.java
│ │ │ ├── KingdomSimulation.java
│ │ │ └── Knight.java
│ │ └── Kingdom.mdj
│ ├── PizzaFactory/
│ │ ├── UML.mdj
│ │ ├── build.xml
│ │ ├── manifest.mf
│ │ ├── nbproject/
│ │ │ ├── build-impl.xml
│ │ │ ├── genfiles.properties
│ │ │ ├── project.properties
│ │ │ └── project.xml
│ │ └── src/
│ │ └── pizzafactory/
│ │ ├── ChicagoPizzaStore.java
│ │ ├── ChicagoStyleCheesePizza.java
│ │ ├── ChicagoStyleClamPizza.java
│ │ ├── ChicagoStylePepperoniPizza.java
│ │ ├── ChicagoStyleVeggiePizza.java
│ │ ├── DependentPizzaStore.java
│ │ ├── NYPizzaStore.java
│ │ ├── NYStyleCheesePizza.java
│ │ ├── NYStyleClamPizza.java
│ │ ├── NYStylePepperoniPizza.java
│ │ ├── NYStyleVeggiePizza.java
│ │ ├── Pizza.java
│ │ ├── PizzaFactory.java
│ │ └── PizzaStore.java
│ ├── SalesElektronik/
│ │ ├── build.xml
│ │ ├── manifest.mf
│ │ ├── nbproject/
│ │ │ ├── build-impl.xml
│ │ │ ├── genfiles.properties
│ │ │ ├── project.properties
│ │ │ └── project.xml
│ │ └── src/
│ │ └── saleselektronik/
│ │ ├── Barang.java
│ │ ├── Iterator.java
│ │ ├── Sales.java
│ │ ├── SalesElektronik.java
│ │ ├── TokoA.java
│ │ ├── TokoAIterator.java
│ │ ├── TokoB.java
│ │ └── TokoBIterator.java
│ ├── TemplateWorker/
│ │ ├── build.xml
│ │ ├── manifest.mf
│ │ ├── nbproject/
│ │ │ ├── build-impl.xml
│ │ │ ├── genfiles.properties
│ │ │ ├── project.properties
│ │ │ └── project.xml
│ │ └── src/
│ │ └── templateworker/
│ │ ├── Dosen.java
│ │ ├── Pekerja.java
│ │ ├── PemadamKebakaran.java
│ │ ├── TemplateWorker.java
│ │ └── TukangPos.java
│ ├── WarungSedap/
│ │ ├── UML.mdj
│ │ ├── build.xml
│ │ ├── manifest.mf
│ │ ├── nbproject/
│ │ │ ├── build-impl.xml
│ │ │ ├── genfiles.properties
│ │ │ ├── project.properties
│ │ │ └── project.xml
│ │ └── src/
│ │ └── warungsedap/
│ │ ├── Bakso.java
│ │ ├── CekerAyam.java
│ │ ├── Lontong.java
│ │ ├── Makanan.java
│ │ ├── Pecel.java
│ │ ├── RempahRempah.java
│ │ └── WarungSedap.java
│ └── Weather-O-Rama/
│ ├── UML.mdj
│ ├── build.xml
│ ├── manifest.mf
│ ├── nbproject/
│ │ ├── build-impl.xml
│ │ ├── genfiles.properties
│ │ ├── project.properties
│ │ └── project.xml
│ └── src/
│ └── weather/
│ └── o/
│ └── rama/
│ ├── CurrentConditionsDisplay.java
│ ├── DisplayElement.java
│ ├── ForecastDisplay.java
│ ├── HeatIndexDisplay.java
│ ├── Observer.java
│ ├── StatisticsDisplay.java
│ ├── Subject.java
│ ├── WeatherData.java
│ └── WeatherORama.java
├── Dokumen/
│ └── Tugas 1 Design Pattern.docx
├── Kontrak Perkuliahan.docx
├── PPT/
│ ├── Design Pattern 1 - Pengantar Design Pattern.pptx
│ ├── Design Pattern 10 - Template Pattern.pptx
│ ├── Design Pattern 11 - Iterator Pattern.pptx
│ ├── Design Pattern 12 - State Pattern.pptx
│ ├── Design Pattern 2 - Review OOP dan Pemanfaatannya di Design Pattern.pptx
│ ├── Design Pattern 3 - Observer Pattern.pptx
│ ├── Design Pattern 4 - Decorator Pattern.pptx
│ ├── Design Pattern 5 - Factory Pattern.pptx
│ ├── Design Pattern 6 - SIngleton Pattern.pptx
│ ├── Design Pattern 7 - Command Pattern.pptx
│ ├── Design Pattern 8 - Adapter Pattern.pptx
│ └── Design Pattern 9 - Facade Pattern.pptx
├── PPT Tugas Presentasi/
│ ├── 1. Observer.pptx
│ ├── 10. Composite.pptx
│ ├── 2. Decorator.pptx
│ ├── 3. Factory.pptx
│ ├── 4. Singleton.pptx
│ ├── 5. Command.pptx
│ ├── 6. Adapter.pptx
│ ├── 8. Template.pptx
│ └── 9. Iterator.pptx
├── README.md
└── UTS dan UAS Ganjil 2017-2018/
├── TUGAS UAS DESIGN PATTERN.pptx
├── UAS.docx
└── UTS.docx
================================================
FILE CONTENTS
================================================
================================================
FILE: .gitattributes
================================================
# Auto detect text files and perform LF normalization
* text=auto
# Custom for Visual Studio
*.cs diff=csharp
# Standard to msysgit
*.doc diff=astextplain
*.DOC diff=astextplain
*.docx diff=astextplain
*.DOCX diff=astextplain
*.dot diff=astextplain
*.DOT diff=astextplain
*.pdf diff=astextplain
*.PDF diff=astextplain
*.rtf diff=astextplain
*.RTF diff=astextplain
================================================
FILE: .gitignore
================================================
# Windows image file caches
Thumbs.db
ehthumbs.db
# Folder config file
Desktop.ini
# Recycle Bin used on file shares
$RECYCLE.BIN/
# Windows Installer files
*.cab
*.msi
*.msm
*.msp
# Windows shortcuts
*.lnk
# =========================
# Operating System Files
# =========================
# OSX
# =========================
.DS_Store
.AppleDouble
.LSOverride
# Thumbnails
._*
# Files that might appear in the root of a volume
.DocumentRevisions-V100
.fseventsd
.Spotlight-V100
.TemporaryItems
.Trashes
.VolumeIcon.icns
# Directories potentially created on remote AFP share
.AppleDB
.AppleDesktop
Network Trash Folder
Temporary Items
.apdisk
/Nilai-Design Pattern -Kls-P1.xlsx
/Ebook/List Pattern in Each Book or Source.xlsx
/Code/Duck/MiniDuckSimulator/nbproject/private/
/Code/Duck/MiniDuckSimulator/build/
/Code/Kingdom/Kingdom/nbproject/private/
/Code/Kingdom/Kingdom/build/
/Code/Eight-Puzzles/nbproject/private/
/Code/Abstract/nbproject/private/
/Code/Abstract/build/
/Code/Weather-O-Rama/nbproject/private/
/Code/Weather-O-Rama/build/
/Code/Bakso/nbproject/private/
/Code/WarungSedap/nbproject/private/
/Code/WarungSedap/build/
/Code/PizzaFactory/nbproject/private/
/Code/PizzaFactory/build/
/Code/Choc-O-Holic/nbproject/private/
/Code/Command/*.png
/Code/Command/nbproject/private/
/Code/Command/build/
/Code/TemplateWorker/nbproject/private/
/Code/TemplateWorker/build/
/Code/HF_DP/
# Dokumen UTS dan UAS Ganjil 2016/2017
/UTS dan UAS Ganjil 2016-2017
/Code/Chocolate/nbproject/private/
/Code/Chocolate/build/
/Code/Adapter/nbproject/private/
/Code/Adapter/build/
/Code/HomeTheater/nbproject/private/
/Code/HomeTheater/build/
/Code/SalesElektronik/nbproject/private/
/Code/SalesElektronik/build/
/Nilai Design Pattern/
/Code/JualPermenKaret/nbproject/private/
/Code/JualPermenKaret/build/
================================================
FILE: Code/Abstract/UML.mdj
================================================
{
"_type": "Project",
"_id": "AAAAAAFF+h6SjaM2Hec=",
"name": "Untitled",
"ownedElements": [
{
"_type": "UMLModel",
"_id": "AAAAAAFF+qBWK6M3Z8Y=",
"_parent": {
"$ref": "AAAAAAFF+h6SjaM2Hec="
},
"name": "Model",
"ownedElements": [
{
"_type": "UMLClassDiagram",
"_id": "AAAAAAFF+qBtyKM79qY=",
"_parent": {
"$ref": "AAAAAAFF+qBWK6M3Z8Y="
},
"name": "HumanClass",
"visible": true,
"defaultDiagram": true,
"ownedViews": [
{
"_type": "UMLClassView",
"_id": "AAAAAAFZ6mglnYyClQo=",
"_parent": {
"$ref": "AAAAAAFF+qBtyKM79qY="
},
"model": {
"$ref": "AAAAAAFZ6mglnYyAy3c="
},
"subViews": [
{
"_type": "UMLNameCompartmentView",
"_id": "AAAAAAFZ6mglnYyDTKQ=",
"_parent": {
"$ref": "AAAAAAFZ6mglnYyClQo="
},
"model": {
"$ref": "AAAAAAFZ6mglnYyAy3c="
},
"subViews": [
{
"_type": "LabelView",
"_id": "AAAAAAFZ6mglnYyEr7I=",
"_parent": {
"$ref": "AAAAAAFZ6mglnYyDTKQ="
},
"visible": false,
"enabled": true,
"lineColor": "#000000",
"fillColor": "#ffffff",
"fontColor": "#000000",
"font": "Arial;13;0",
"showShadow": true,
"containerChangeable": false,
"containerExtending": false,
"left": 0,
"top": 0,
"width": 0,
"height": 13,
"autoResize": false,
"underline": false,
"horizontalAlignment": 2,
"verticalAlignment": 5,
"wordWrap": false
},
{
"_type": "LabelView",
"_id": "AAAAAAFZ6mglnYyFBdA=",
"_parent": {
"$ref": "AAAAAAFZ6mglnYyDTKQ="
},
"visible": true,
"enabled": true,
"lineColor": "#000000",
"fillColor": "#ffffff",
"fontColor": "#000000",
"font": "Arial;13;3",
"showShadow": true,
"containerChangeable": false,
"containerExtending": false,
"left": 341,
"top": 167,
"width": 97.17626953125,
"height": 13,
"autoResize": false,
"underline": false,
"text": "Human",
"horizontalAlignment": 2,
"verticalAlignment": 5,
"wordWrap": false
},
{
"_type": "LabelView",
"_id": "AAAAAAFZ6mglnYyGFM0=",
"_parent": {
"$ref": "AAAAAAFZ6mglnYyDTKQ="
},
"visible": false,
"enabled": true,
"lineColor": "#000000",
"fillColor": "#ffffff",
"fontColor": "#000000",
"font": "Arial;13;0",
"showShadow": true,
"containerChangeable": false,
"containerExtending": false,
"left": 0,
"top": 0,
"width": 73.67724609375,
"height": 13,
"autoResize": false,
"underline": false,
"text": "(from Model)",
"horizontalAlignment": 2,
"verticalAlignment": 5,
"wordWrap": false
},
{
"_type": "LabelView",
"_id": "AAAAAAFZ6mglnYyHvkw=",
"_parent": {
"$ref": "AAAAAAFZ6mglnYyDTKQ="
},
"visible": false,
"enabled": true,
"lineColor": "#000000",
"fillColor": "#ffffff",
"fontColor": "#000000",
"font": "Arial;13;0",
"showShadow": true,
"containerChangeable": false,
"containerExtending": false,
"left": 0,
"top": 0,
"width": 0,
"height": 13,
"autoResize": false,
"underline": false,
"horizontalAlignment": 1,
"verticalAlignment": 5,
"wordWrap": false
}
],
"visible": true,
"enabled": true,
"lineColor": "#000000",
"fillColor": "#ffffff",
"fontColor": "#000000",
"font": "Arial;13;0",
"showShadow": true,
"containerChangeable": false,
"containerExtending": false,
"left": 336,
"top": 160,
"width": 107.17626953125,
"height": 25,
"autoResize": false,
"stereotypeLabel": {
"$ref": "AAAAAAFZ6mglnYyEr7I="
},
"nameLabel": {
"$ref": "AAAAAAFZ6mglnYyFBdA="
},
"namespaceLabel": {
"$ref": "AAAAAAFZ6mglnYyGFM0="
},
"propertyLabel": {
"$ref": "AAAAAAFZ6mglnYyHvkw="
}
},
{
"_type": "UMLAttributeCompartmentView",
"_id": "AAAAAAFZ6mglnYyINJg=",
"_parent": {
"$ref": "AAAAAAFZ6mglnYyClQo="
},
"model": {
"$ref": "AAAAAAFZ6mglnYyAy3c="
},
"subViews": [
{
"_type": "UMLAttributeView",
"_id": "AAAAAAFZ6mgzWIytqhw=",
"_parent": {
"$ref": "AAAAAAFZ6mglnYyINJg="
},
"model": {
"$ref": "AAAAAAFZ6mgy8oyq358="
},
"visible": true,
"enabled": true,
"lineColor": "#000000",
"fillColor": "#ffffff",
"fontColor": "#000000",
"font": "Arial;13;0",
"showShadow": true,
"containerChangeable": false,
"containerExtending": false,
"left": 341,
"top": 190,
"width": 97.17626953125,
"height": 13,
"autoResize": false,
"underline": false,
"text": "+name",
"horizontalAlignment": 0,
"verticalAlignment": 5,
"wordWrap": false
},
{
"_type": "UMLAttributeView",
"_id": "AAAAAAFZ6mg+r4y0p7Y=",
"_parent": {
"$ref": "AAAAAAFZ6mglnYyINJg="
},
"model": {
"$ref": "AAAAAAFZ6mg+UYyxV5E="
},
"visible": true,
"enabled": true,
"lineColor": "#000000",
"fillColor": "#ffffff",
"fontColor": "#000000",
"font": "Arial;13;0",
"showShadow": true,
"containerChangeable": false,
"containerExtending": false,
"left": 341,
"top": 205,
"width": 97.17626953125,
"height": 13,
"autoResize": false,
"underline": false,
"text": "+gender",
"horizontalAlignment": 0,
"verticalAlignment": 5,
"wordWrap": false
}
],
"visible": true,
"enabled": true,
"lineColor": "#000000",
"fillColor": "#ffffff",
"fontColor": "#000000",
"font": "Arial;13;0",
"showShadow": true,
"containerChangeable": false,
"containerExtending": false,
"left": 336,
"top": 185,
"width": 107.17626953125,
"height": 38,
"autoResize": false
},
{
"_type": "UMLOperationCompartmentView",
"_id": "AAAAAAFZ6mglnYyJSqc=",
"_parent": {
"$ref": "AAAAAAFZ6mglnYyClQo="
},
"model": {
"$ref": "AAAAAAFZ6mglnYyAy3c="
},
"subViews": [
{
"_type": "UMLOperationView",
"_id": "AAAAAAFZ6mhL2oy7rts=",
"_parent": {
"$ref": "AAAAAAFZ6mglnYyJSqc="
},
"model": {
"$ref": "AAAAAAFZ6mhLhoy44Vc="
},
"visible": true,
"enabled": true,
"lineColor": "#000000",
"fillColor": "#ffffff",
"fontColor": "#000000",
"font": "Arial;13;2",
"showShadow": true,
"containerChangeable": false,
"containerExtending": false,
"left": 341,
"top": 228,
"width": 97.17626953125,
"height": 13,
"autoResize": false,
"underline": false,
"text": "+looks()",
"horizontalAlignment": 0,
"verticalAlignment": 5,
"wordWrap": false
},
{
"_type": "UMLOperationView",
"_id": "AAAAAAFZ6mhmbYzCnbc=",
"_parent": {
"$ref": "AAAAAAFZ6mglnYyJSqc="
},
"model": {
"$ref": "AAAAAAFZ6mhmJYy/lA0="
},
"visible": true,
"enabled": true,
"lineColor": "#000000",
"fillColor": "#ffffff",
"fontColor": "#000000",
"font": "Arial;13;0",
"showShadow": true,
"containerChangeable": false,
"containerExtending": false,
"left": 341,
"top": 243,
"width": 97.17626953125,
"height": 13,
"autoResize": false,
"underline": false,
"text": "+move(direction)",
"horizontalAlignment": 0,
"verticalAlignment": 5,
"wordWrap": false
}
],
"visible": true,
"enabled": true,
"lineColor": "#000000",
"fillColor": "#ffffff",
"fontColor": "#000000",
"font": "Arial;13;0",
"showShadow": true,
"containerChangeable": false,
"containerExtending": false,
"left": 336,
"top": 223,
"width": 107.17626953125,
"height": 38,
"autoResize": false
},
{
"_type": "UMLReceptionCompartmentView",
"_id": "AAAAAAFZ6mglnYyKqPE=",
"_parent": {
"$ref": "AAAAAAFZ6mglnYyClQo="
},
"model": {
"$ref": "AAAAAAFZ6mglnYyAy3c="
},
"visible": false,
"enabled": true,
"lineColor": "#000000",
"fillColor": "#ffffff",
"fontColor": "#000000",
"font": "Arial;13;0",
"showShadow": true,
"containerChangeable": false,
"containerExtending": false,
"left": 0,
"top": 0,
"width": 10,
"height": 10,
"autoResize": false
},
{
"_type": "UMLTemplateParameterCompartmentView",
"_id": "AAAAAAFZ6mglrIyL7yE=",
"_parent": {
"$ref": "AAAAAAFZ6mglnYyClQo="
},
"model": {
"$ref": "AAAAAAFZ6mglnYyAy3c="
},
"visible": false,
"enabled": true,
"lineColor": "#000000",
"fillColor": "#ffffff",
"fontColor": "#000000",
"font": "Arial;13;0",
"showShadow": true,
"containerChangeable": false,
"containerExtending": false,
"left": 0,
"top": 0,
"width": 10,
"height": 10,
"autoResize": false
}
],
"visible": true,
"enabled": true,
"lineColor": "#000000",
"fillColor": "#ffffff",
"fontColor": "#000000",
"font": "Arial;13;0",
"showShadow": true,
"containerChangeable": true,
"containerExtending": false,
"left": 336,
"top": 160,
"width": 107.17626953125,
"height": 101,
"autoResize": false,
"stereotypeDisplay": "label",
"showVisibility": true,
"showNamespace": false,
"showProperty": true,
"showType": true,
"nameCompartment": {
"$ref": "AAAAAAFZ6mglnYyDTKQ="
},
"wordWrap": false,
"suppressAttributes": false,
"suppressOperations": false,
"suppressReceptions": true,
"showMultiplicity": true,
"showOperationSignature": true,
"attributeCompartment": {
"$ref": "AAAAAAFZ6mglnYyINJg="
},
"operationCompartment": {
"$ref": "AAAAAAFZ6mglnYyJSqc="
},
"receptionCompartment": {
"$ref": "AAAAAAFZ6mglnYyKqPE="
},
"templateParameterCompartment": {
"$ref": "AAAAAAFZ6mglrIyL7yE="
}
}
]
},
{
"_type": "UMLClass",
"_id": "AAAAAAFZ6mglnYyAy3c=",
"_parent": {
"$ref": "AAAAAAFF+qBWK6M3Z8Y="
},
"name": "Human",
"visibility": "public",
"attributes": [
{
"_type": "UMLAttribute",
"_id": "AAAAAAFZ6mgy8oyq358=",
"_parent": {
"$ref": "AAAAAAFZ6mglnYyAy3c="
},
"name": "name",
"visibility": "public",
"isStatic": false,
"isLeaf": false,
"isReadOnly": false,
"isOrdered": false,
"isUnique": false,
"isDerived": false,
"aggregation": "none",
"isID": false
},
{
"_type": "UMLAttribute",
"_id": "AAAAAAFZ6mg+UYyxV5E=",
"_parent": {
"$ref": "AAAAAAFZ6mglnYyAy3c="
},
"name": "gender",
"visibility": "public",
"isStatic": false,
"isLeaf": false,
"isReadOnly": false,
"isOrdered": false,
"isUnique": false,
"isDerived": false,
"aggregation": "none",
"isID": false
}
],
"operations": [
{
"_type": "UMLOperation",
"_id": "AAAAAAFZ6mhLhoy44Vc=",
"_parent": {
"$ref": "AAAAAAFZ6mglnYyAy3c="
},
"name": "looks",
"visibility": "public",
"isStatic": false,
"isLeaf": false,
"concurrency": "sequential",
"isQuery": false,
"isAbstract": true
},
{
"_type": "UMLOperation",
"_id": "AAAAAAFZ6mhmJYy/lA0=",
"_parent": {
"$ref": "AAAAAAFZ6mglnYyAy3c="
},
"name": "move",
"visibility": "public",
"isStatic": false,
"isLeaf": false,
"parameters": [
{
"_type": "UMLParameter",
"_id": "AAAAAAFZ6miFx4zGtEo=",
"_parent": {
"$ref": "AAAAAAFZ6mhmJYy/lA0="
},
"name": "direction",
"visibility": "public",
"isStatic": false,
"isLeaf": false,
"type": "",
"isReadOnly": false,
"isOrdered": false,
"isUnique": false,
"direction": "in"
}
],
"concurrency": "sequential",
"isQuery": false,
"isAbstract": false
}
],
"isAbstract": true,
"isFinalSpecialization": false,
"isLeaf": false,
"isActive": false
},
{
"_type": "UMLClassDiagram",
"_id": "AAAAAAFZ6s8GnYzKPcc=",
"_parent": {
"$ref": "AAAAAAFF+qBWK6M3Z8Y="
},
"name": "InterfaceExample",
"visible": true,
"defaultDiagram": false,
"ownedViews": [
{
"_type": "UMLInterfaceView",
"_id": "AAAAAAFZ6s8/e4zQ0dI=",
"_parent": {
"$ref": "AAAAAAFZ6s8GnYzKPcc="
},
"model": {
"$ref": "AAAAAAFZ6s8/eozOPnQ="
},
"subViews": [
{
"_type": "UMLNameCompartmentView",
"_id": "AAAAAAFZ6s8/fIzRBWY=",
"_parent": {
"$ref": "AAAAAAFZ6s8/e4zQ0dI="
},
"model": {
"$ref": "AAAAAAFZ6s8/eozOPnQ="
},
"subViews": [
{
"_type": "LabelView",
"_id": "AAAAAAFZ6s8/fIzSkCc=",
"_parent": {
"$ref": "AAAAAAFZ6s8/fIzRBWY="
},
"visible": true,
"enabled": true,
"lineColor": "#000000",
"fillColor": "#ffffff",
"fontColor": "#000000",
"font": "Arial;13;0",
"showShadow": true,
"containerChangeable": false,
"containerExtending": false,
"left": 373,
"top": 165,
"width": 84.18896484375,
"height": 13,
"autoResize": false,
"underline": false,
"text": "«interface»",
"horizontalAlignment": 2,
"verticalAlignment": 5,
"wordWrap": false
},
{
"_type": "LabelView",
"_id": "AAAAAAFZ6s8/fYzTcUg=",
"_parent": {
"$ref": "AAAAAAFZ6s8/fIzRBWY="
},
"visible": true,
"enabled": true,
"lineColor": "#000000",
"fillColor": "#ffffff",
"fontColor": "#000000",
"font": "Arial;13;1",
"showShadow": true,
"containerChangeable": false,
"containerExtending": false,
"left": 373,
"top": 180,
"width": 84.18896484375,
"height": 13,
"autoResize": false,
"underline": false,
"text": "Skill",
"horizontalAlignment": 2,
"verticalAlignment": 5,
"wordWrap": false
},
{
"_type": "LabelView",
"_id": "AAAAAAFZ6s8/fYzUDHk=",
"_parent": {
"$ref": "AAAAAAFZ6s8/fIzRBWY="
},
"visible": false,
"enabled": true,
"lineColor": "#000000",
"fillColor": "#ffffff",
"fontColor": "#000000",
"font": "Arial;13;0",
"showShadow": true,
"containerChangeable": false,
"containerExtending": false,
"left": 208,
"top": -144,
"width": 73.67724609375,
"height": 13,
"autoResize": false,
"underline": false,
"text": "(from Model)",
"horizontalAlignment": 2,
"verticalAlignment": 5,
"wordWrap": false
},
{
"_type": "LabelView",
"_id": "AAAAAAFZ6s8/fYzVaG8=",
"_parent": {
"$ref": "AAAAAAFZ6s8/fIzRBWY="
},
"visible": false,
"enabled": true,
"lineColor": "#000000",
"fillColor": "#ffffff",
"fontColor": "#000000",
"font": "Arial;13;0",
"showShadow": true,
"containerChangeable": false,
"containerExtending": false,
"left": 208,
"top": -144,
"width": 0,
"height": 13,
"autoResize": false,
"underline": false,
"horizontalAlignment": 1,
"verticalAlignment": 5,
"wordWrap": false
}
],
"visible": true,
"enabled": true,
"lineColor": "#000000",
"fillColor": "#ffffff",
"fontColor": "#000000",
"font": "Arial;13;0",
"showShadow": true,
"containerChangeable": false,
"containerExtending": false,
"left": 368,
"top": 160,
"width": 94.18896484375,
"height": 38,
"autoResize": false,
"stereotypeLabel": {
"$ref": "AAAAAAFZ6s8/fIzSkCc="
},
"nameLabel": {
"$ref": "AAAAAAFZ6s8/fYzTcUg="
},
"namespaceLabel": {
"$ref": "AAAAAAFZ6s8/fYzUDHk="
},
"propertyLabel": {
"$ref": "AAAAAAFZ6s8/fYzVaG8="
}
},
{
"_type": "UMLAttributeCompartmentView",
"_id": "AAAAAAFZ6s8/fYzWXok=",
"_parent": {
"$ref": "AAAAAAFZ6s8/e4zQ0dI="
},
"model": {
"$ref": "AAAAAAFZ6s8/eozOPnQ="
},
"visible": false,
"enabled": true,
"lineColor": "#000000",
"fillColor": "#ffffff",
"fontColor": "#000000",
"font": "Arial;13;0",
"showShadow": true,
"containerChangeable": false,
"containerExtending": false,
"left": 104,
"top": -72,
"width": 10,
"height": 10,
"autoResize": false
},
{
"_type": "UMLOperationCompartmentView",
"_id": "AAAAAAFZ6s8/fozX7gc=",
"_parent": {
"$ref": "AAAAAAFZ6s8/e4zQ0dI="
},
"model": {
"$ref": "AAAAAAFZ6s8/eozOPnQ="
},
"subViews": [
{
"_type": "UMLOperationView",
"_id": "AAAAAAFZ6tBnn41COPQ=",
"_parent": {
"$ref": "AAAAAAFZ6s8/fozX7gc="
},
"model": {
"$ref": "AAAAAAFZ6tBnS40/dn0="
},
"visible": true,
"enabled": true,
"lineColor": "#000000",
"fillColor": "#ffffff",
"fontColor": "#000000",
"font": "Arial;13;0",
"showShadow": true,
"containerChangeable": false,
"containerExtending": false,
"left": 373,
"top": 203,
"width": 84.18896484375,
"height": 13,
"autoResize": false,
"underline": false,
"text": "+dance(name)",
"horizontalAlignment": 0,
"verticalAlignment": 5,
"wordWrap": false
},
{
"_type": "UMLOperationView",
"_id": "AAAAAAFZ6tEwAY1JOeI=",
"_parent": {
"$ref": "AAAAAAFZ6s8/fozX7gc="
},
"model": {
"$ref": "AAAAAAFZ6tEvtY1Gly4="
},
"visible": true,
"enabled": true,
"lineColor": "#000000",
"fillColor": "#ffffff",
"fontColor": "#000000",
"font": "Arial;13;0",
"showShadow": true,
"containerChangeable": false,
"containerExtending": false,
"left": 373,
"top": 218,
"width": 84.18896484375,
"height": 13,
"autoResize": false,
"underline": false,
"text": "+sing()",
"horizontalAlignment": 0,
"verticalAlignment": 5,
"wordWrap": false
}
],
"visible": true,
"enabled": true,
"lineColor": "#000000",
"fillColor": "#ffffff",
"fontColor": "#000000",
"font": "Arial;13;0",
"showShadow": true,
"containerChangeable": false,
"containerExtending": false,
"left": 368,
"top": 198,
"width": 94.18896484375,
"height": 38,
"autoResize": false
},
{
"_type": "UMLReceptionCompartmentView",
"_id": "AAAAAAFZ6s8/fozYPAI=",
"_parent": {
"$ref": "AAAAAAFZ6s8/e4zQ0dI="
},
"model": {
"$ref": "AAAAAAFZ6s8/eozOPnQ="
},
"visible": false,
"enabled": true,
"lineColor": "#000000",
"fillColor": "#ffffff",
"fontColor": "#000000",
"font": "Arial;13;0",
"showShadow": true,
"containerChangeable": false,
"containerExtending": false,
"left": 104,
"top": -72,
"width": 10,
"height": 10,
"autoResize": false
},
{
"_type": "UMLTemplateParameterCompartmentView",
"_id": "AAAAAAFZ6s8/f4zZjSA=",
"_parent": {
"$ref": "AAAAAAFZ6s8/e4zQ0dI="
},
"model": {
"$ref": "AAAAAAFZ6s8/eozOPnQ="
},
"visible": false,
"enabled": true,
"lineColor": "#000000",
"fillColor": "#ffffff",
"fontColor": "#000000",
"font": "Arial;13;0",
"showShadow": true,
"containerChangeable": false,
"containerExtending": false,
"left": 104,
"top": -72,
"width": 10,
"height": 10,
"autoResize": false
}
],
"visible": true,
"enabled": true,
"lineColor": "#000000",
"fillColor": "#ffffff",
"fontColor": "#000000",
"font": "Arial;13;0",
"showShadow": true,
"containerChangeable": true,
"containerExtending": false,
"left": 368,
"top": 160,
"width": 94.18896484375,
"height": 76,
"autoResize": false,
"stereotypeDisplay": "label",
"showVisibility": true,
"showNamespace": false,
"showProperty": true,
"showType": true,
"nameCompartment": {
"$ref": "AAAAAAFZ6s8/fIzRBWY="
},
"wordWrap": false,
"suppressAttributes": true,
"suppressOperations": false,
"suppressReceptions": true,
"showMultiplicity": true,
"showOperationSignature": true,
"attributeCompartment": {
"$ref": "AAAAAAFZ6s8/fYzWXok="
},
"operationCompartment": {
"$ref": "AAAAAAFZ6s8/fozX7gc="
},
"receptionCompartment": {
"$ref": "AAAAAAFZ6s8/fozYPAI="
},
"templateParameterCompartment": {
"$ref": "AAAAAAFZ6s8/f4zZjSA="
}
},
{
"_type": "UMLClassView",
"_id": "AAAAAAFZ6uRQsI5DqRA=",
"_parent": {
"$ref": "AAAAAAFZ6s8GnYzKPcc="
},
"model": {
"$ref": "AAAAAAFZ6mglnYyAy3c="
},
"subViews": [
{
"_type": "UMLNameCompartmentView",
"_id": "AAAAAAFZ6uRQsI5Eky0=",
"_parent": {
"$ref": "AAAAAAFZ6uRQsI5DqRA="
},
"model": {
"$ref": "AAAAAAFZ6mglnYyAy3c="
},
"subViews": [
{
"_type": "LabelView",
"_id": "AAAAAAFZ6uRQsI5FbjA=",
"_parent": {
"$ref": "AAAAAAFZ6uRQsI5Eky0="
},
"visible": false,
"enabled": true,
"lineColor": "#000000",
"fillColor": "#ffffff",
"fontColor": "#000000",
"font": "Arial;13;0",
"showShadow": true,
"containerChangeable": false,
"containerExtending": false,
"left": -120,
"top": -96,
"width": 0,
"height": 13,
"autoResize": false,
"underline": false,
"horizontalAlignment": 2,
"verticalAlignment": 5,
"wordWrap": false
},
{
"_type": "LabelView",
"_id": "AAAAAAFZ6uRQsI5GOTk=",
"_parent": {
"$ref": "AAAAAAFZ6uRQsI5Eky0="
},
"visible": true,
"enabled": true,
"lineColor": "#000000",
"fillColor": "#ffffff",
"fontColor": "#000000",
"font": "Arial;13;3",
"showShadow": true,
"containerChangeable": false,
"containerExtending": false,
"left": 205,
"top": 111,
"width": 97.17626953125,
"height": 13,
"autoResize": false,
"underline": false,
"text": "Human",
"horizontalAlignment": 2,
"verticalAlignment": 5,
"wordWrap": false
},
{
"_type": "LabelView",
"_id": "AAAAAAFZ6uRQsI5HnFI=",
"_parent": {
"$ref": "AAAAAAFZ6uRQsI5Eky0="
},
"visible": false,
"enabled": true,
"lineColor": "#000000",
"fillColor": "#ffffff",
"fontColor": "#000000",
"font": "Arial;13;0",
"showShadow": true,
"containerChangeable": false,
"containerExtending": false,
"left": -120,
"top": -96,
"width": 73.67724609375,
"height": 13,
"autoResize": false,
"underline": false,
"text": "(from Model)",
"horizontalAlignment": 2,
"verticalAlignment": 5,
"wordWrap": false
},
{
"_type": "LabelView",
"_id": "AAAAAAFZ6uRQsY5ICQY=",
"_parent": {
"$ref": "AAAAAAFZ6uRQsI5Eky0="
},
"visible": false,
"enabled": true,
"lineColor": "#000000",
"fillColor": "#ffffff",
"fontColor": "#000000",
"font": "Arial;13;0",
"showShadow": true,
"containerChangeable": false,
"containerExtending": false,
"left": -120,
"top": -96,
"width": 0,
"height": 13,
"autoResize": false,
"underline": false,
"horizontalAlignment": 1,
"verticalAlignment": 5,
"wordWrap": false
}
],
"visible": true,
"enabled": true,
"lineColor": "#000000",
"fillColor": "#ffffff",
"fontColor": "#000000",
"font": "Arial;13;0",
"showShadow": true,
"containerChangeable": false,
"containerExtending": false,
"left": 200,
"top": 104,
"width": 107.17626953125,
"height": 25,
"autoResize": false,
"stereotypeLabel": {
"$ref": "AAAAAAFZ6uRQsI5FbjA="
},
"nameLabel": {
"$ref": "AAAAAAFZ6uRQsI5GOTk="
},
"namespaceLabel": {
"$ref": "AAAAAAFZ6uRQsI5HnFI="
},
"propertyLabel": {
"$ref": "AAAAAAFZ6uRQsY5ICQY="
}
},
{
"_type": "UMLAttributeCompartmentView",
"_id": "AAAAAAFZ6uRQsY5JQNw=",
"_parent": {
"$ref": "AAAAAAFZ6uRQsI5DqRA="
},
"model": {
"$ref": "AAAAAAFZ6mglnYyAy3c="
},
"subViews": [
{
"_type": "UMLAttributeView",
"_id": "AAAAAAFZ6uRQ9o5pO8c=",
"_parent": {
"$ref": "AAAAAAFZ6uRQsY5JQNw="
},
"model": {
"$ref": "AAAAAAFZ6mgy8oyq358="
},
"visible": true,
"enabled": true,
"lineColor": "#000000",
"fillColor": "#ffffff",
"fontColor": "#000000",
"font": "Arial;13;0",
"showShadow": true,
"containerChangeable": false,
"containerExtending": false,
"left": 205,
"top": 134,
"width": 97.17626953125,
"height": 13,
"autoResize": false,
"underline": false,
"text": "+name",
"horizontalAlignment": 0,
"verticalAlignment": 5,
"wordWrap": false
},
{
"_type": "UMLAttributeView",
"_id": "AAAAAAFZ6uRQ945sW0I=",
"_parent": {
"$ref": "AAAAAAFZ6uRQsY5JQNw="
},
"model": {
"$ref": "AAAAAAFZ6mg+UYyxV5E="
},
"visible": true,
"enabled": true,
"lineColor": "#000000",
"fillColor": "#ffffff",
"fontColor": "#000000",
"font": "Arial;13;0",
"showShadow": true,
"containerChangeable": false,
"containerExtending": false,
"left": 205,
"top": 149,
"width": 97.17626953125,
"height": 13,
"autoResize": false,
"underline": false,
"text": "+gender",
"horizontalAlignment": 0,
"verticalAlignment": 5,
"wordWrap": false
}
],
"visible": true,
"enabled": true,
"lineColor": "#000000",
"fillColor": "#ffffff",
"fontColor": "#000000",
"font": "Arial;13;0",
"showShadow": true,
"containerChangeable": false,
"containerExtending": false,
"left": 200,
"top": 129,
"width": 107.17626953125,
"height": 38,
"autoResize": false
},
{
"_type": "UMLOperationCompartmentView",
"_id": "AAAAAAFZ6uRQsY5KmeA=",
"_parent": {
"$ref": "AAAAAAFZ6uRQsI5DqRA="
},
"model": {
"$ref": "AAAAAAFZ6mglnYyAy3c="
},
"subViews": [
{
"_type": "UMLOperationView",
"_id": "AAAAAAFZ6uRQ+I5vIPk=",
"_parent": {
"$ref": "AAAAAAFZ6uRQsY5KmeA="
},
"model": {
"$ref": "AAAAAAFZ6mhLhoy44Vc="
},
"visible": true,
"enabled": true,
"lineColor": "#000000",
"fillColor": "#ffffff",
"fontColor": "#000000",
"font": "Arial;13;2",
"showShadow": true,
"containerChangeable": false,
"containerExtending": false,
"left": 205,
"top": 172,
"width": 97.17626953125,
"height": 13,
"autoResize": false,
"underline": false,
"text": "+looks()",
"horizontalAlignment": 0,
"verticalAlignment": 5,
"wordWrap": false
},
{
"_type": "UMLOperationView",
"_id": "AAAAAAFZ6uRQ/Y5y6Vc=",
"_parent": {
"$ref": "AAAAAAFZ6uRQsY5KmeA="
},
"model": {
"$ref": "AAAAAAFZ6mhmJYy/lA0="
},
"visible": true,
"enabled": true,
"lineColor": "#000000",
"fillColor": "#ffffff",
"fontColor": "#000000",
"font": "Arial;13;0",
"showShadow": true,
"containerChangeable": false,
"containerExtending": false,
"left": 205,
"top": 187,
"width": 97.17626953125,
"height": 13,
"autoResize": false,
"underline": false,
"text": "+move(direction)",
"horizontalAlignment": 0,
"verticalAlignment": 5,
"wordWrap": false
}
],
"visible": true,
"enabled": true,
"lineColor": "#000000",
"fillColor": "#ffffff",
"fontColor": "#000000",
"font": "Arial;13;0",
"showShadow": true,
"containerChangeable": false,
"containerExtending": false,
"left": 200,
"top": 167,
"width": 107.17626953125,
"height": 38,
"autoResize": false
},
{
"_type": "UMLReceptionCompartmentView",
"_id": "AAAAAAFZ6uRQsY5Lf/U=",
"_parent": {
"$ref": "AAAAAAFZ6uRQsI5DqRA="
},
"model": {
"$ref": "AAAAAAFZ6mglnYyAy3c="
},
"visible": false,
"enabled": true,
"lineColor": "#000000",
"fillColor": "#ffffff",
"fontColor": "#000000",
"font": "Arial;13;0",
"showShadow": true,
"containerChangeable": false,
"containerExtending": false,
"left": -60,
"top": -48,
"width": 10,
"height": 10,
"autoResize": false
},
{
"_type": "UMLTemplateParameterCompartmentView",
"_id": "AAAAAAFZ6uRQsY5Mmbw=",
"_parent": {
"$ref": "AAAAAAFZ6uRQsI5DqRA="
},
"model": {
"$ref": "AAAAAAFZ6mglnYyAy3c="
},
"visible": false,
"enabled": true,
"lineColor": "#000000",
"fillColor": "#ffffff",
"fontColor": "#000000",
"font": "Arial;13;0",
"showShadow": true,
"containerChangeable": false,
"containerExtending": false,
"left": -60,
"top": -48,
"width": 10,
"height": 10,
"autoResize": false
}
],
"visible": true,
"enabled": true,
"lineColor": "#000000",
"fillColor": "#ffffff",
"fontColor": "#000000",
"font": "Arial;13;0",
"showShadow": true,
"containerChangeable": true,
"containerExtending": false,
"left": 200,
"top": 104,
"width": 107.17626953125,
"height": 101,
"autoResize": false,
"stereotypeDisplay": "label",
"showVisibility": true,
"showNamespace": false,
"showProperty": true,
"showType": true,
"nameCompartment": {
"$ref": "AAAAAAFZ6uRQsI5Eky0="
},
"wordWrap": false,
"suppressAttributes": false,
"suppressOperations": false,
"suppressReceptions": true,
"showMultiplicity": true,
"showOperationSignature": true,
"attributeCompartment": {
"$ref": "AAAAAAFZ6uRQsY5JQNw="
},
"operationCompartment": {
"$ref": "AAAAAAFZ6uRQsY5KmeA="
},
"receptionCompartment": {
"$ref": "AAAAAAFZ6uRQsY5Lf/U="
},
"templateParameterCompartment": {
"$ref": "AAAAAAFZ6uRQsY5Mmbw="
}
},
{
"_type": "UMLClassView",
"_id": "AAAAAAFZ6uRj6o53zWo=",
"_parent": {
"$ref": "AAAAAAFZ6s8GnYzKPcc="
},
"model": {
"$ref": "AAAAAAFZ6uRj6Y51j9A="
},
"subViews": [
{
"_type": "UMLNameCompartmentView",
"_id": "AAAAAAFZ6uRj6o54UpE=",
"_parent": {
"$ref": "AAAAAAFZ6uRj6o53zWo="
},
"model": {
"$ref": "AAAAAAFZ6uRj6Y51j9A="
},
"subViews": [
{
"_type": "LabelView",
"_id": "AAAAAAFZ6uRj6o55uTc=",
"_parent": {
"$ref": "AAAAAAFZ6uRj6o54UpE="
},
"visible": false,
"enabled": true,
"lineColor": "#000000",
"fillColor": "#ffffff",
"fontColor": "#000000",
"font": "Arial;13;0",
"showShadow": true,
"containerChangeable": false,
"containerExtending": false,
"left": -48,
"top": -256,
"width": 0,
"height": 13,
"autoResize": false,
"underline": false,
"horizontalAlignment": 2,
"verticalAlignment": 5,
"wordWrap": false
},
{
"_type": "LabelView",
"_id": "AAAAAAFZ6uRj6o56hdw=",
"_parent": {
"$ref": "AAAAAAFZ6uRj6o54UpE="
},
"visible": true,
"enabled": true,
"lineColor": "#000000",
"fillColor": "#ffffff",
"fontColor": "#000000",
"font": "Arial;13;1",
"showShadow": true,
"containerChangeable": false,
"containerExtending": false,
"left": 205,
"top": 287,
"width": 84.18896484375,
"height": 13,
"autoResize": false,
"underline": false,
"text": "Asian",
"horizontalAlignment": 2,
"verticalAlignment": 5,
"wordWrap": false
},
{
"_type": "LabelView",
"_id": "AAAAAAFZ6uRj6o578AA=",
"_parent": {
"$ref": "AAAAAAFZ6uRj6o54UpE="
},
"visible": false,
"enabled": true,
"lineColor": "#000000",
"fillColor": "#ffffff",
"fontColor": "#000000",
"font": "Arial;13;0",
"showShadow": true,
"containerChangeable": false,
"containerExtending": false,
"left": -48,
"top": -256,
"width": 73.67724609375,
"height": 13,
"autoResize": false,
"underline": false,
"text": "(from Model)",
"horizontalAlignment": 2,
"verticalAlignment": 5,
"wordWrap": false
},
{
"_type": "LabelView",
"_id": "AAAAAAFZ6uRj6o58FVI=",
"_parent": {
"$ref": "AAAAAAFZ6uRj6o54UpE="
},
"visible": false,
"enabled": true,
"lineColor": "#000000",
"fillColor": "#ffffff",
"fontColor": "#000000",
"font": "Arial;13;0",
"showShadow": true,
"containerChangeable": false,
"containerExtending": false,
"left": -48,
"top": -256,
"width": 0,
"height": 13,
"autoResize": false,
"underline": false,
"horizontalAlignment": 1,
"verticalAlignment": 5,
"wordWrap": false
}
],
"visible": true,
"enabled": true,
"lineColor": "#000000",
"fillColor": "#ffffff",
"fontColor": "#000000",
"font": "Arial;13;0",
"showShadow": true,
"containerChangeable": false,
"containerExtending": false,
"left": 200,
"top": 280,
"width": 94.18896484375,
"height": 25,
"autoResize": false,
"stereotypeLabel": {
"$ref": "AAAAAAFZ6uRj6o55uTc="
},
"nameLabel": {
"$ref": "AAAAAAFZ6uRj6o56hdw="
},
"namespaceLabel": {
"$ref": "AAAAAAFZ6uRj6o578AA="
},
"propertyLabel": {
"$ref": "AAAAAAFZ6uRj6o58FVI="
}
},
{
"_type": "UMLAttributeCompartmentView",
"_id": "AAAAAAFZ6uRj6459FP0=",
"_parent": {
"$ref": "AAAAAAFZ6uRj6o53zWo="
},
"model": {
"$ref": "AAAAAAFZ6uRj6Y51j9A="
},
"visible": true,
"enabled": true,
"lineColor": "#000000",
"fillColor": "#ffffff",
"fontColor": "#000000",
"font": "Arial;13;0",
"showShadow": true,
"containerChangeable": false,
"containerExtending": false,
"left": 200,
"top": 305,
"width": 94.18896484375,
"height": 10,
"autoResize": false
},
{
"_type": "UMLOperationCompartmentView",
"_id": "AAAAAAFZ6uRj645+JM8=",
"_parent": {
"$ref": "AAAAAAFZ6uRj6o53zWo="
},
"model": {
"$ref": "AAAAAAFZ6uRj6Y51j9A="
},
"subViews": [
{
"_type": "UMLOperationView",
"_id": "AAAAAAFZ6vDk6Y6iR+E=",
"_parent": {
"$ref": "AAAAAAFZ6uRj645+JM8="
},
"model": {
"$ref": "AAAAAAFZ6vDkSI6f7Dk="
},
"visible": true,
"enabled": true,
"lineColor": "#000000",
"fillColor": "#ffffff",
"fontColor": "#000000",
"font": "Arial;13;0",
"showShadow": true,
"containerChangeable": false,
"containerExtending": false,
"left": 205,
"top": 320,
"width": 84.18896484375,
"height": 13,
"autoResize": false,
"underline": false,
"text": "+looks()",
"horizontalAlignment": 0,
"verticalAlignment": 5,
"wordWrap": false
},
{
"_type": "UMLOperationView",
"_id": "AAAAAAFZ6vEDDY6pZvM=",
"_parent": {
"$ref": "AAAAAAFZ6uRj645+JM8="
},
"model": {
"$ref": "AAAAAAFZ6vECQo6mi7w="
},
"visible": true,
"enabled": true,
"lineColor": "#000000",
"fillColor": "#ffffff",
"fontColor": "#000000",
"font": "Arial;13;0",
"showShadow": true,
"containerChangeable": false,
"containerExtending": false,
"left": 205,
"top": 335,
"width": 84.18896484375,
"height": 13,
"autoResize": false,
"underline": false,
"text": "+dance(name)",
"horizontalAlignment": 0,
"verticalAlignment": 5,
"wordWrap": false
},
{
"_type": "UMLOperationView",
"_id": "AAAAAAFZ6vE5eo6yHeQ=",
"_parent": {
"$ref": "AAAAAAFZ6uRj645+JM8="
},
"model": {
"$ref": "AAAAAAFZ6vE47I6vsco="
},
"visible": true,
"enabled": true,
"lineColor": "#000000",
"fillColor": "#ffffff",
"fontColor": "#000000",
"font": "Arial;13;0",
"showShadow": true,
"containerChangeable": false,
"containerExtending": false,
"left": 205,
"top": 350,
"width": 84.18896484375,
"height": 13,
"autoResize": false,
"underline": false,
"text": "+sing()",
"horizontalAlignment": 0,
"verticalAlignment": 5,
"wordWrap": false
}
],
"visible": true,
"enabled": true,
"lineColor": "#000000",
"fillColor": "#ffffff",
"fontColor": "#000000",
"font": "Arial;13;0",
"showShadow": true,
"containerChangeable": false,
"containerExtending": false,
"left": 200,
"top": 315,
"width": 94.18896484375,
"height": 53,
"autoResize": false
},
{
"_type": "UMLReceptionCompartmentView",
"_id": "AAAAAAFZ6uRj645/YUk=",
"_parent": {
"$ref": "AAAAAAFZ6uRj6o53zWo="
},
"model": {
"$ref": "AAAAAAFZ6uRj6Y51j9A="
},
"visible": false,
"enabled": true,
"lineColor": "#000000",
"fillColor": "#ffffff",
"fontColor": "#000000",
"font": "Arial;13;0",
"showShadow": true,
"containerChangeable": false,
"containerExtending": false,
"left": -24,
"top": -128,
"width": 10,
"height": 10,
"autoResize": false
},
{
"_type": "UMLTemplateParameterCompartmentView",
"_id": "AAAAAAFZ6uRj646AJew=",
"_parent": {
"$ref": "AAAAAAFZ6uRj6o53zWo="
},
"model": {
"$ref": "AAAAAAFZ6uRj6Y51j9A="
},
"visible": false,
"enabled": true,
"lineColor": "#000000",
"fillColor": "#ffffff",
"fontColor": "#000000",
"font": "Arial;13;0",
"showShadow": true,
"containerChangeable": false,
"containerExtending": false,
"left": -24,
"top": -128,
"width": 10,
"height": 10,
"autoResize": false
}
],
"visible": true,
"enabled": true,
"lineColor": "#000000",
"fillColor": "#ffffff",
"fontColor": "#000000",
"font": "Arial;13;0",
"showShadow": true,
"containerChangeable": true,
"containerExtending": false,
"left": 200,
"top": 280,
"width": 94.18896484375,
"height": 88,
"autoResize": false,
"stereotypeDisplay": "label",
"showVisibility": true,
"showNamespace": false,
"showProperty": true,
"showType": true,
"nameCompartment": {
"$ref": "AAAAAAFZ6uRj6o54UpE="
},
"wordWrap": false,
"suppressAttributes": false,
"suppressOperations": false,
"suppressReceptions": true,
"showMultiplicity": true,
"showOperationSignature": true,
"attributeCompartment": {
"$ref": "AAAAAAFZ6uRj6459FP0="
},
"operationCompartment": {
"$ref": "AAAAAAFZ6uRj645+JM8="
},
"receptionCompartment": {
"$ref": "AAAAAAFZ6uRj645/YUk="
},
"templateParameterCompartment": {
"$ref": "AAAAAAFZ6uRj646AJew="
}
},
{
"_type": "UMLGeneralizationView",
"_id": "AAAAAAFZ6v6IWo64qRE=",
"_parent": {
"$ref": "AAAAAAFZ6s8GnYzKPcc="
},
"model": {
"$ref": "AAAAAAFZ6v6IWI62/Ac="
},
"subViews": [
{
"_type": "EdgeLabelView",
"_id": "AAAAAAFZ6v6IW4655k8=",
"_parent": {
"$ref": "AAAAAAFZ6v6IWo64qRE="
},
"model": {
"$ref": "AAAAAAFZ6v6IWI62/Ac="
},
"visible": false,
"enabled": true,
"lineColor": "#000000",
"fillColor": "#ffffff",
"fontColor": "#000000",
"font": "Arial;13;0",
"showShadow": true,
"containerChangeable": false,
"containerExtending": false,
"left": 234,
"top": 235,
"width": 0,
"height": 13,
"autoResize": false,
"alpha": 1.5707963267948966,
"distance": 15,
"hostEdge": {
"$ref": "AAAAAAFZ6v6IWo64qRE="
},
"edgePosition": 1,
"underline": false,
"horizontalAlignment": 2,
"verticalAlignment": 5,
"wordWrap": false
},
{
"_type": "EdgeLabelView",
"_id": "AAAAAAFZ6v6IW466XBI=",
"_parent": {
"$ref": "AAAAAAFZ6v6IWo64qRE="
},
"model": {
"$ref": "AAAAAAFZ6v6IWI62/Ac="
},
"visible": null,
"enabled": true,
"lineColor": "#000000",
"fillColor": "#ffffff",
"fontColor": "#000000",
"font": "Arial;13;0",
"showShadow": true,
"containerChangeable": false,
"containerExtending": false,
"left": 219,
"top": 234,
"width": 0,
"height": 13,
"autoResize": false,
"alpha": 1.5707963267948966,
"distance": 30,
"hostEdge": {
"$ref": "AAAAAAFZ6v6IWo64qRE="
},
"edgePosition": 1,
"underline": false,
"horizontalAlignment": 2,
"verticalAlignment": 5,
"wordWrap": false
},
{
"_type": "EdgeLabelView",
"_id": "AAAAAAFZ6v6IXI67IQk=",
"_parent": {
"$ref": "AAAAAAFZ6v6IWo64qRE="
},
"model": {
"$ref": "AAAAAAFZ6v6IWI62/Ac="
},
"visible": false,
"enabled": true,
"lineColor": "#000000",
"fillColor": "#ffffff",
"fontColor": "#000000",
"font": "Arial;13;0",
"showShadow": true,
"containerChangeable": false,
"containerExtending": false,
"left": 263,
"top": 236,
"width": 0,
"height": 13,
"autoResize": false,
"alpha": -1.5707963267948966,
"distance": 15,
"hostEdge": {
"$ref": "AAAAAAFZ6v6IWo64qRE="
},
"edgePosition": 1,
"underline": false,
"horizontalAlignment": 2,
"verticalAlignment": 5,
"wordWrap": false
}
],
"visible": true,
"enabled": true,
"lineColor": "#000000",
"fillColor": "#ffffff",
"fontColor": "#000000",
"font": "Arial;13;0",
"showShadow": true,
"containerChangeable": false,
"containerExtending": false,
"head": {
"$ref": "AAAAAAFZ6uRQsI5DqRA="
},
"tail": {
"$ref": "AAAAAAFZ6uRj6o53zWo="
},
"lineStyle": 1,
"points": "248:279;251:205",
"stereotypeDisplay": "label",
"showVisibility": true,
"showProperty": true,
"nameLabel": {
"$ref": "AAAAAAFZ6v6IW4655k8="
},
"stereotypeLabel": {
"$ref": "AAAAAAFZ6v6IW466XBI="
},
"propertyLabel": {
"$ref": "AAAAAAFZ6v6IXI67IQk="
}
},
{
"_type": "UMLInterfaceRealizationView",
"_id": "AAAAAAFZ6v6WoI7IcyQ=",
"_parent": {
"$ref": "AAAAAAFZ6s8GnYzKPcc="
},
"model": {
"$ref": "AAAAAAFZ6v6Wn47HFzw="
},
"subViews": [
{
"_type": "EdgeLabelView",
"_id": "AAAAAAFZ6v6WoY7Jox4=",
"_parent": {
"$ref": "AAAAAAFZ6v6WoI7IcyQ="
},
"model": {
"$ref": "AAAAAAFZ6v6Wn47HFzw="
},
"visible": false,
"enabled": true,
"lineColor": "#000000",
"fillColor": "#ffffff",
"fontColor": "#000000",
"font": "Arial;13;0",
"showShadow": true,
"containerChangeable": false,
"containerExtending": false,
"left": 321,
"top": 240,
"width": 0,
"height": 13,
"autoResize": false,
"alpha": 1.5707963267948966,
"distance": 15,
"hostEdge": {
"$ref": "AAAAAAFZ6v6WoI7IcyQ="
},
"edgePosition": 1,
"underline": false,
"horizontalAlignment": 2,
"verticalAlignment": 5,
"wordWrap": false
},
{
"_type": "EdgeLabelView",
"_id": "AAAAAAFZ6v6WoY7KQHg=",
"_parent": {
"$ref": "AAAAAAFZ6v6WoI7IcyQ="
},
"model": {
"$ref": "AAAAAAFZ6v6Wn47HFzw="
},
"visible": null,
"enabled": true,
"lineColor": "#000000",
"fillColor": "#ffffff",
"fontColor": "#000000",
"font": "Arial;13;0",
"showShadow": true,
"containerChangeable": false,
"containerExtending": false,
"left": 312,
"top": 228,
"width": 0,
"height": 13,
"autoResize": false,
"alpha": 1.5707963267948966,
"distance": 30,
"hostEdge": {
"$ref": "AAAAAAFZ6v6WoI7IcyQ="
},
"edgePosition": 1,
"underline": false,
"horizontalAlignment": 2,
"verticalAlignment": 5,
"wordWrap": false
},
{
"_type": "EdgeLabelView",
"_id": "AAAAAAFZ6v6WoY7L4vM=",
"_parent": {
"$ref": "AAAAAAFZ6v6WoI7IcyQ="
},
"model": {
"$ref": "AAAAAAFZ6v6Wn47HFzw="
},
"visible": false,
"enabled": true,
"lineColor": "#000000",
"fillColor": "#ffffff",
"fontColor": "#000000",
"font": "Arial;13;0",
"showShadow": true,
"containerChangeable": false,
"containerExtending": false,
"left": 338,
"top": 265,
"width": 0,
"height": 13,
"autoResize": false,
"alpha": -1.5707963267948966,
"distance": 15,
"hostEdge": {
"$ref": "AAAAAAFZ6v6WoI7IcyQ="
},
"edgePosition": 1,
"underline": false,
"horizontalAlignment": 2,
"verticalAlignment": 5,
"wordWrap": false
}
],
"visible": true,
"enabled": true,
"lineColor": "#000000",
"fillColor": "#ffffff",
"fontColor": "#000000",
"font": "Arial;13;0",
"showShadow": true,
"containerChangeable": false,
"containerExtending": false,
"head": {
"$ref": "AAAAAAFZ6s8/e4zQ0dI="
},
"tail": {
"$ref": "AAAAAAFZ6uRj6o53zWo="
},
"lineStyle": 1,
"points": "294:287;367:232",
"stereotypeDisplay": "label",
"showVisibility": true,
"showProperty": true,
"nameLabel": {
"$ref": "AAAAAAFZ6v6WoY7Jox4="
},
"stereotypeLabel": {
"$ref": "AAAAAAFZ6v6WoY7KQHg="
},
"propertyLabel": {
"$ref": "AAAAAAFZ6v6WoY7L4vM="
}
}
]
},
{
"_type": "UMLInterface",
"_id": "AAAAAAFZ6s8/eozOPnQ=",
"_parent": {
"$ref": "AAAAAAFF+qBWK6M3Z8Y="
},
"name": "Skill",
"visibility": "public",
"operations": [
{
"_type": "UMLOperation",
"_id": "AAAAAAFZ6tBnS40/dn0=",
"_parent": {
"$ref": "AAAAAAFZ6s8/eozOPnQ="
},
"name": "dance",
"visibility": "public",
"isStatic": false,
"isLeaf": false,
"parameters": [
{
"_type": "UMLParameter",
"_id": "AAAAAAFZ6t3lkY1OfSw=",
"_parent": {
"$ref": "AAAAAAFZ6tBnS40/dn0="
},
"name": "name",
"visibility": "public",
"isStatic": false,
"isLeaf": false,
"type": "",
"isReadOnly": false,
"isOrdered": false,
"isUnique": false,
"direction": "in"
}
],
"concurrency": "sequential",
"isQuery": false,
"isAbstract": false
},
{
"_type": "UMLOperation",
"_id": "AAAAAAFZ6tEvtY1Gly4=",
"_parent": {
"$ref": "AAAAAAFZ6s8/eozOPnQ="
},
"name": "sing",
"visibility": "public",
"isStatic": false,
"isLeaf": false,
"concurrency": "sequential",
"isQuery": false,
"isAbstract": false
}
],
"isAbstract": false,
"isFinalSpecialization": false,
"isLeaf": false
},
{
"_type": "UMLClassDiagram",
"_id": "AAAAAAFZ6uM0go2irC8=",
"_parent": {
"$ref": "AAAAAAFF+qBWK6M3Z8Y="
},
"name": "All",
"visible": true,
"defaultDiagram": false
},
{
"_type": "UMLClass",
"_id": "AAAAAAFZ6uRj6Y51j9A=",
"_parent": {
"$ref": "AAAAAAFF+qBWK6M3Z8Y="
},
"name": "Asian",
"ownedElements": [
{
"_type": "UMLGeneralization",
"_id": "AAAAAAFZ6v6IWI62/Ac=",
"_parent": {
"$ref": "AAAAAAFZ6uRj6Y51j9A="
},
"source": {
"$ref": "AAAAAAFZ6uRj6Y51j9A="
},
"target": {
"$ref": "AAAAAAFZ6mglnYyAy3c="
},
"visibility": "public"
},
{
"_type": "UMLInterfaceRealization",
"_id": "AAAAAAFZ6v6Wn47HFzw=",
"_parent": {
"$ref": "AAAAAAFZ6uRj6Y51j9A="
},
"source": {
"$ref": "AAAAAAFZ6uRj6Y51j9A="
},
"target": {
"$ref": "AAAAAAFZ6s8/eozOPnQ="
},
"visibility": "public"
}
],
"visibility": "public",
"operations": [
{
"_type": "UMLOperation",
"_id": "AAAAAAFZ6vDkSI6f7Dk=",
"_parent": {
"$ref": "AAAAAAFZ6uRj6Y51j9A="
},
"name": "looks",
"visibility": "public",
"isStatic": false,
"isLeaf": false,
"concurrency": "sequential",
"isQuery": false,
"isAbstract": false
},
{
"_type": "UMLOperation",
"_id": "AAAAAAFZ6vECQo6mi7w=",
"_parent": {
"$ref": "AAAAAAFZ6uRj6Y51j9A="
},
"name": "dance",
"visibility": "public",
"isStatic": false,
"isLeaf": false,
"parameters": [
{
"_type": "UMLParameter",
"_id": "AAAAAAFZ6vE3dY6tyVw=",
"_parent": {
"$ref": "AAAAAAFZ6vECQo6mi7w="
},
"name": "name",
"visibility": "public",
"isStatic": false,
"isLeaf": false,
"type": "",
"isReadOnly": false,
"isOrdered": false,
"isUnique": false,
"direction": "in"
}
],
"concurrency": "sequential",
"isQuery": false,
"isAbstract": false
},
{
"_type": "UMLOperation",
"_id": "AAAAAAFZ6vE47I6vsco=",
"_parent": {
"$ref": "AAAAAAFZ6uRj6Y51j9A="
},
"name": "sing",
"visibility": "public",
"isStatic": false,
"isLeaf": false,
"concurrency": "sequential",
"isQuery": false,
"isAbstract": false
}
],
"isAbstract": false,
"isFinalSpecialization": false,
"isLeaf": false,
"isActive": false
}
],
"visibility": "public"
}
]
}
================================================
FILE: Code/Abstract/build.xml
================================================
<?xml version="1.0" encoding="UTF-8"?>
<!-- You may freely edit this file. See commented blocks below for -->
<!-- some examples of how to customize the build. -->
<!-- (If you delete it and reopen the project it will be recreated.) -->
<!-- By default, only the Clean and Build commands use this build script. -->
<!-- Commands such as Run, Debug, and Test only use this build script if -->
<!-- the Compile on Save feature is turned off for the project. -->
<!-- You can turn off the Compile on Save (or Deploy on Save) setting -->
<!-- in the project's Project Properties dialog box.-->
<project name="Abstract" default="default" basedir=".">
<description>Builds, tests, and runs the project Abstract.</description>
<import file="nbproject/build-impl.xml"/>
<!--
There exist several targets which are by default empty and which can be
used for execution of your tasks. These targets are usually executed
before and after some main targets. They are:
-pre-init: called before initialization of project properties
-post-init: called after initialization of project properties
-pre-compile: called before javac compilation
-post-compile: called after javac compilation
-pre-compile-single: called before javac compilation of single file
-post-compile-single: called after javac compilation of single file
-pre-compile-test: called before javac compilation of JUnit tests
-post-compile-test: called after javac compilation of JUnit tests
-pre-compile-test-single: called before javac compilation of single JUnit test
-post-compile-test-single: called after javac compilation of single JUunit test
-pre-jar: called before JAR building
-post-jar: called after JAR building
-post-clean: called after cleaning build products
(Targets beginning with '-' are not intended to be called on their own.)
Example of inserting an obfuscator after compilation could look like this:
<target name="-post-compile">
<obfuscate>
<fileset dir="${build.classes.dir}"/>
</obfuscate>
</target>
For list of available properties check the imported
nbproject/build-impl.xml file.
Another way to customize the build is by overriding existing main targets.
The targets of interest are:
-init-macrodef-javac: defines macro for javac compilation
-init-macrodef-junit: defines macro for junit execution
-init-macrodef-debug: defines macro for class debugging
-init-macrodef-java: defines macro for class execution
-do-jar: JAR building
run: execution of project
-javadoc-build: Javadoc generation
test-report: JUnit report generation
An example of overriding the target for project execution could look like this:
<target name="run" depends="Abstract-impl.jar">
<exec dir="bin" executable="launcher.exe">
<arg file="${dist.jar}"/>
</exec>
</target>
Notice that the overridden target depends on the jar target and not only on
the compile target as the regular run target does. Again, for a list of available
properties which you can use, check the target you are overriding in the
nbproject/build-impl.xml file.
-->
</project>
================================================
FILE: Code/Abstract/manifest.mf
================================================
Manifest-Version: 1.0
X-COMMENT: Main-Class will be added automatically by build
================================================
FILE: Code/Abstract/nbproject/build-impl.xml
================================================
<?xml version="1.0" encoding="UTF-8"?>
<!--
*** GENERATED FROM project.xml - DO NOT EDIT ***
*** EDIT ../build.xml INSTEAD ***
For the purpose of easier reading the script
is divided into following sections:
- initialization
- compilation
- jar
- execution
- debugging
- javadoc
- test compilation
- test execution
- test debugging
- applet
- cleanup
-->
<project xmlns:j2seproject1="http://www.netbeans.org/ns/j2se-project/1" xmlns:j2seproject3="http://www.netbeans.org/ns/j2se-project/3" xmlns:jaxrpc="http://www.netbeans.org/ns/j2se-project/jax-rpc" basedir=".." default="default" name="Abstract-impl">
<fail message="Please build using Ant 1.8.0 or higher.">
<condition>
<not>
<antversion atleast="1.8.0"/>
</not>
</condition>
</fail>
<target depends="test,jar,javadoc" description="Build and test whole project." name="default"/>
<!--
======================
INITIALIZATION SECTION
======================
-->
<target name="-pre-init">
<!-- Empty placeholder for easier customization. -->
<!-- You can override this target in the ../build.xml file. -->
</target>
<target depends="-pre-init" name="-init-private">
<property file="nbproject/private/config.properties"/>
<property file="nbproject/private/configs/${config}.properties"/>
<property file="nbproject/private/private.properties"/>
</target>
<target depends="-pre-init,-init-private" name="-init-user">
<property file="${user.properties.file}"/>
<!-- The two properties below are usually overridden -->
<!-- by the active platform. Just a fallback. -->
<property name="default.javac.source" value="1.6"/>
<property name="default.javac.target" value="1.6"/>
</target>
<target depends="-pre-init,-init-private,-init-user" name="-init-project">
<property file="nbproject/configs/${config}.properties"/>
<property file="nbproject/project.properties"/>
</target>
<target depends="-pre-init,-init-private,-init-user,-init-project,-init-macrodef-property" name="-do-init">
<property name="platform.java" value="${java.home}/bin/java"/>
<available file="${manifest.file}" property="manifest.available"/>
<condition property="splashscreen.available">
<and>
<not>
<equals arg1="${application.splash}" arg2="" trim="true"/>
</not>
<available file="${application.splash}"/>
</and>
</condition>
<condition property="main.class.available">
<and>
<isset property="main.class"/>
<not>
<equals arg1="${main.class}" arg2="" trim="true"/>
</not>
</and>
</condition>
<condition property="profile.available">
<and>
<isset property="javac.profile"/>
<length length="0" string="${javac.profile}" when="greater"/>
<matches pattern="((1\.[89])|9)(\..*)?" string="${javac.source}"/>
</and>
</condition>
<condition property="do.archive">
<or>
<not>
<istrue value="${jar.archive.disabled}"/>
</not>
<istrue value="${not.archive.disabled}"/>
</or>
</condition>
<condition property="do.mkdist">
<and>
<isset property="do.archive"/>
<isset property="libs.CopyLibs.classpath"/>
<not>
<istrue value="${mkdist.disabled}"/>
</not>
</and>
</condition>
<condition property="do.archive+manifest.available">
<and>
<isset property="manifest.available"/>
<istrue value="${do.archive}"/>
</and>
</condition>
<condition property="do.archive+main.class.available">
<and>
<isset property="main.class.available"/>
<istrue value="${do.archive}"/>
</and>
</condition>
<condition property="do.archive+splashscreen.available">
<and>
<isset property="splashscreen.available"/>
<istrue value="${do.archive}"/>
</and>
</condition>
<condition property="do.archive+profile.available">
<and>
<isset property="profile.available"/>
<istrue value="${do.archive}"/>
</and>
</condition>
<condition property="have.tests">
<or>
<available file="${test.src.dir}"/>
</or>
</condition>
<condition property="have.sources">
<or>
<available file="${src.dir}"/>
</or>
</condition>
<condition property="netbeans.home+have.tests">
<and>
<isset property="netbeans.home"/>
<isset property="have.tests"/>
</and>
</condition>
<condition property="no.javadoc.preview">
<and>
<isset property="javadoc.preview"/>
<isfalse value="${javadoc.preview}"/>
</and>
</condition>
<property name="run.jvmargs" value=""/>
<property name="run.jvmargs.ide" value=""/>
<property name="javac.compilerargs" value=""/>
<property name="work.dir" value="${basedir}"/>
<condition property="no.deps">
<and>
<istrue value="${no.dependencies}"/>
</and>
</condition>
<property name="javac.debug" value="true"/>
<property name="javadoc.preview" value="true"/>
<property name="application.args" value=""/>
<property name="source.encoding" value="${file.encoding}"/>
<property name="runtime.encoding" value="${source.encoding}"/>
<property name="manifest.encoding" value="${source.encoding}"/>
<condition property="javadoc.encoding.used" value="${javadoc.encoding}">
<and>
<isset property="javadoc.encoding"/>
<not>
<equals arg1="${javadoc.encoding}" arg2=""/>
</not>
</and>
</condition>
<property name="javadoc.encoding.used" value="${source.encoding}"/>
<property name="includes" value="**"/>
<property name="excludes" value=""/>
<property name="do.depend" value="false"/>
<condition property="do.depend.true">
<istrue value="${do.depend}"/>
</condition>
<path id="endorsed.classpath.path" path="${endorsed.classpath}"/>
<condition else="" property="endorsed.classpath.cmd.line.arg" value="-Xbootclasspath/p:'${toString:endorsed.classpath.path}'">
<and>
<isset property="endorsed.classpath"/>
<not>
<equals arg1="${endorsed.classpath}" arg2="" trim="true"/>
</not>
</and>
</condition>
<condition else="" property="javac.profile.cmd.line.arg" value="-profile ${javac.profile}">
<isset property="profile.available"/>
</condition>
<condition else="false" property="jdkBug6558476">
<and>
<matches pattern="1\.[56]" string="${java.specification.version}"/>
<not>
<os family="unix"/>
</not>
</and>
</condition>
<condition else="false" property="javac.fork">
<or>
<istrue value="${jdkBug6558476}"/>
<istrue value="${javac.external.vm}"/>
</or>
</condition>
<property name="jar.index" value="false"/>
<property name="jar.index.metainf" value="${jar.index}"/>
<property name="copylibs.rebase" value="true"/>
<available file="${meta.inf.dir}/persistence.xml" property="has.persistence.xml"/>
<condition property="junit.available">
<or>
<available classname="org.junit.Test" classpath="${run.test.classpath}"/>
<available classname="junit.framework.Test" classpath="${run.test.classpath}"/>
</or>
</condition>
<condition property="testng.available">
<available classname="org.testng.annotations.Test" classpath="${run.test.classpath}"/>
</condition>
<condition property="junit+testng.available">
<and>
<istrue value="${junit.available}"/>
<istrue value="${testng.available}"/>
</and>
</condition>
<condition else="testng" property="testng.mode" value="mixed">
<istrue value="${junit+testng.available}"/>
</condition>
<condition else="" property="testng.debug.mode" value="-mixed">
<istrue value="${junit+testng.available}"/>
</condition>
<property name="java.failonerror" value="true"/>
</target>
<target name="-post-init">
<!-- Empty placeholder for easier customization. -->
<!-- You can override this target in the ../build.xml file. -->
</target>
<target depends="-pre-init,-init-private,-init-user,-init-project,-do-init" name="-init-check">
<fail unless="src.dir">Must set src.dir</fail>
<fail unless="test.src.dir">Must set test.src.dir</fail>
<fail unless="build.dir">Must set build.dir</fail>
<fail unless="dist.dir">Must set dist.dir</fail>
<fail unless="build.classes.dir">Must set build.classes.dir</fail>
<fail unless="dist.javadoc.dir">Must set dist.javadoc.dir</fail>
<fail unless="build.test.classes.dir">Must set build.test.classes.dir</fail>
<fail unless="build.test.results.dir">Must set build.test.results.dir</fail>
<fail unless="build.classes.excludes">Must set build.classes.excludes</fail>
<fail unless="dist.jar">Must set dist.jar</fail>
</target>
<target name="-init-macrodef-property">
<macrodef name="property" uri="http://www.netbeans.org/ns/j2se-project/1">
<attribute name="name"/>
<attribute name="value"/>
<sequential>
<property name="@{name}" value="${@{value}}"/>
</sequential>
</macrodef>
</target>
<target depends="-init-ap-cmdline-properties" if="ap.supported.internal" name="-init-macrodef-javac-with-processors">
<macrodef name="javac" uri="http://www.netbeans.org/ns/j2se-project/3">
<attribute default="${src.dir}" name="srcdir"/>
<attribute default="${build.classes.dir}" name="destdir"/>
<attribute default="${javac.classpath}" name="classpath"/>
<attribute default="${javac.processorpath}" name="processorpath"/>
<attribute default="${build.generated.sources.dir}/ap-source-output" name="apgeneratedsrcdir"/>
<attribute default="${includes}" name="includes"/>
<attribute default="${excludes}" name="excludes"/>
<attribute default="${javac.debug}" name="debug"/>
<attribute default="${empty.dir}" name="sourcepath"/>
<attribute default="${empty.dir}" name="gensrcdir"/>
<element name="customize" optional="true"/>
<sequential>
<property location="${build.dir}/empty" name="empty.dir"/>
<mkdir dir="${empty.dir}"/>
<mkdir dir="@{apgeneratedsrcdir}"/>
<javac debug="@{debug}" deprecation="${javac.deprecation}" destdir="@{destdir}" encoding="${source.encoding}" excludes="@{excludes}" fork="${javac.fork}" includeantruntime="false" includes="@{includes}" source="${javac.source}" sourcepath="@{sourcepath}" srcdir="@{srcdir}" target="${javac.target}" tempdir="${java.io.tmpdir}">
<src>
<dirset dir="@{gensrcdir}" erroronmissingdir="false">
<include name="*"/>
</dirset>
</src>
<classpath>
<path path="@{classpath}"/>
</classpath>
<compilerarg line="${endorsed.classpath.cmd.line.arg}"/>
<compilerarg line="${javac.profile.cmd.line.arg}"/>
<compilerarg line="${javac.compilerargs}"/>
<compilerarg value="-processorpath"/>
<compilerarg path="@{processorpath}:${empty.dir}"/>
<compilerarg line="${ap.processors.internal}"/>
<compilerarg line="${annotation.processing.processor.options}"/>
<compilerarg value="-s"/>
<compilerarg path="@{apgeneratedsrcdir}"/>
<compilerarg line="${ap.proc.none.internal}"/>
<customize/>
</javac>
</sequential>
</macrodef>
</target>
<target depends="-init-ap-cmdline-properties" name="-init-macrodef-javac-without-processors" unless="ap.supported.internal">
<macrodef name="javac" uri="http://www.netbeans.org/ns/j2se-project/3">
<attribute default="${src.dir}" name="srcdir"/>
<attribute default="${build.classes.dir}" name="destdir"/>
<attribute default="${javac.classpath}" name="classpath"/>
<attribute default="${javac.processorpath}" name="processorpath"/>
<attribute default="${build.generated.sources.dir}/ap-source-output" name="apgeneratedsrcdir"/>
<attribute default="${includes}" name="includes"/>
<attribute default="${excludes}" name="excludes"/>
<attribute default="${javac.debug}" name="debug"/>
<attribute default="${empty.dir}" name="sourcepath"/>
<attribute default="${empty.dir}" name="gensrcdir"/>
<element name="customize" optional="true"/>
<sequential>
<property location="${build.dir}/empty" name="empty.dir"/>
<mkdir dir="${empty.dir}"/>
<javac debug="@{debug}" deprecation="${javac.deprecation}" destdir="@{destdir}" encoding="${source.encoding}" excludes="@{excludes}" fork="${javac.fork}" includeantruntime="false" includes="@{includes}" source="${javac.source}" sourcepath="@{sourcepath}" srcdir="@{srcdir}" target="${javac.target}" tempdir="${java.io.tmpdir}">
<src>
<dirset dir="@{gensrcdir}" erroronmissingdir="false">
<include name="*"/>
</dirset>
</src>
<classpath>
<path path="@{classpath}"/>
</classpath>
<compilerarg line="${endorsed.classpath.cmd.line.arg}"/>
<compilerarg line="${javac.profile.cmd.line.arg}"/>
<compilerarg line="${javac.compilerargs}"/>
<customize/>
</javac>
</sequential>
</macrodef>
</target>
<target depends="-init-macrodef-javac-with-processors,-init-macrodef-javac-without-processors" name="-init-macrodef-javac">
<macrodef name="depend" uri="http://www.netbeans.org/ns/j2se-project/3">
<attribute default="${src.dir}" name="srcdir"/>
<attribute default="${build.classes.dir}" name="destdir"/>
<attribute default="${javac.classpath}" name="classpath"/>
<sequential>
<depend cache="${build.dir}/depcache" destdir="@{destdir}" excludes="${excludes}" includes="${includes}" srcdir="@{srcdir}">
<classpath>
<path path="@{classpath}"/>
</classpath>
</depend>
</sequential>
</macrodef>
<macrodef name="force-recompile" uri="http://www.netbeans.org/ns/j2se-project/3">
<attribute default="${build.classes.dir}" name="destdir"/>
<sequential>
<fail unless="javac.includes">Must set javac.includes</fail>
<pathconvert pathsep="${line.separator}" property="javac.includes.binary">
<path>
<filelist dir="@{destdir}" files="${javac.includes}"/>
</path>
<globmapper from="*.java" to="*.class"/>
</pathconvert>
<tempfile deleteonexit="true" property="javac.includesfile.binary"/>
<echo file="${javac.includesfile.binary}" message="${javac.includes.binary}"/>
<delete>
<files includesfile="${javac.includesfile.binary}"/>
</delete>
<delete>
<fileset file="${javac.includesfile.binary}"/>
</delete>
</sequential>
</macrodef>
</target>
<target if="${junit.available}" name="-init-macrodef-junit-init">
<condition else="false" property="nb.junit.batch" value="true">
<and>
<istrue value="${junit.available}"/>
<not>
<isset property="test.method"/>
</not>
</and>
</condition>
<condition else="false" property="nb.junit.single" value="true">
<and>
<istrue value="${junit.available}"/>
<isset property="test.method"/>
</and>
</condition>
</target>
<target name="-init-test-properties">
<property name="test.binaryincludes" value="<nothing>"/>
<property name="test.binarytestincludes" value=""/>
<property name="test.binaryexcludes" value=""/>
</target>
<target if="${nb.junit.single}" name="-init-macrodef-junit-single" unless="${nb.junit.batch}">
<macrodef name="junit" uri="http://www.netbeans.org/ns/j2se-project/3">
<attribute default="${includes}" name="includes"/>
<attribute default="${excludes}" name="excludes"/>
<attribute default="**" name="testincludes"/>
<attribute default="" name="testmethods"/>
<element name="customize" optional="true"/>
<sequential>
<property name="junit.forkmode" value="perTest"/>
<junit dir="${work.dir}" errorproperty="tests.failed" failureproperty="tests.failed" fork="true" forkmode="${junit.forkmode}" showoutput="true" tempdir="${build.dir}">
<test methods="@{testmethods}" name="@{testincludes}" todir="${build.test.results.dir}"/>
<syspropertyset>
<propertyref prefix="test-sys-prop."/>
<mapper from="test-sys-prop.*" to="*" type="glob"/>
</syspropertyset>
<formatter type="brief" usefile="false"/>
<formatter type="xml"/>
<jvmarg value="-ea"/>
<customize/>
</junit>
</sequential>
</macrodef>
</target>
<target depends="-init-test-properties" if="${nb.junit.batch}" name="-init-macrodef-junit-batch" unless="${nb.junit.single}">
<macrodef name="junit" uri="http://www.netbeans.org/ns/j2se-project/3">
<attribute default="${includes}" name="includes"/>
<attribute default="${excludes}" name="excludes"/>
<attribute default="**" name="testincludes"/>
<attribute default="" name="testmethods"/>
<element name="customize" optional="true"/>
<sequential>
<property name="junit.forkmode" value="perTest"/>
<junit dir="${work.dir}" errorproperty="tests.failed" failureproperty="tests.failed" fork="true" forkmode="${junit.forkmode}" showoutput="true" tempdir="${build.dir}">
<batchtest todir="${build.test.results.dir}">
<fileset dir="${test.src.dir}" excludes="@{excludes},${excludes}" includes="@{includes}">
<filename name="@{testincludes}"/>
</fileset>
<fileset dir="${build.test.classes.dir}" excludes="@{excludes},${excludes},${test.binaryexcludes}" includes="${test.binaryincludes}">
<filename name="${test.binarytestincludes}"/>
</fileset>
</batchtest>
<syspropertyset>
<propertyref prefix="test-sys-prop."/>
<mapper from="test-sys-prop.*" to="*" type="glob"/>
</syspropertyset>
<formatter type="brief" usefile="false"/>
<formatter type="xml"/>
<jvmarg value="-ea"/>
<customize/>
</junit>
</sequential>
</macrodef>
</target>
<target depends="-init-macrodef-junit-init,-init-macrodef-junit-single, -init-macrodef-junit-batch" if="${junit.available}" name="-init-macrodef-junit"/>
<target if="${testng.available}" name="-init-macrodef-testng">
<macrodef name="testng" uri="http://www.netbeans.org/ns/j2se-project/3">
<attribute default="${includes}" name="includes"/>
<attribute default="${excludes}" name="excludes"/>
<attribute default="**" name="testincludes"/>
<attribute default="" name="testmethods"/>
<element name="customize" optional="true"/>
<sequential>
<condition else="" property="testng.methods.arg" value="@{testincludes}.@{testmethods}">
<isset property="test.method"/>
</condition>
<union id="test.set">
<fileset dir="${test.src.dir}" excludes="@{excludes},**/*.xml,${excludes}" includes="@{includes}">
<filename name="@{testincludes}"/>
</fileset>
</union>
<taskdef classname="org.testng.TestNGAntTask" classpath="${run.test.classpath}" name="testng"/>
<testng classfilesetref="test.set" failureProperty="tests.failed" listeners="org.testng.reporters.VerboseReporter" methods="${testng.methods.arg}" mode="${testng.mode}" outputdir="${build.test.results.dir}" suitename="Abstract" testname="TestNG tests" workingDir="${work.dir}">
<xmlfileset dir="${build.test.classes.dir}" includes="@{testincludes}"/>
<propertyset>
<propertyref prefix="test-sys-prop."/>
<mapper from="test-sys-prop.*" to="*" type="glob"/>
</propertyset>
<customize/>
</testng>
</sequential>
</macrodef>
</target>
<target name="-init-macrodef-test-impl">
<macrodef name="test-impl" uri="http://www.netbeans.org/ns/j2se-project/3">
<attribute default="${includes}" name="includes"/>
<attribute default="${excludes}" name="excludes"/>
<attribute default="**" name="testincludes"/>
<attribute default="" name="testmethods"/>
<element implicit="true" name="customize" optional="true"/>
<sequential>
<echo>No tests executed.</echo>
</sequential>
</macrodef>
</target>
<target depends="-init-macrodef-junit" if="${junit.available}" name="-init-macrodef-junit-impl">
<macrodef name="test-impl" uri="http://www.netbeans.org/ns/j2se-project/3">
<attribute default="${includes}" name="includes"/>
<attribute default="${excludes}" name="excludes"/>
<attribute default="**" name="testincludes"/>
<attribute default="" name="testmethods"/>
<element implicit="true" name="customize" optional="true"/>
<sequential>
<j2seproject3:junit excludes="@{excludes}" includes="@{includes}" testincludes="@{testincludes}" testmethods="@{testmethods}">
<customize/>
</j2seproject3:junit>
</sequential>
</macrodef>
</target>
<target depends="-init-macrodef-testng" if="${testng.available}" name="-init-macrodef-testng-impl">
<macrodef name="test-impl" uri="http://www.netbeans.org/ns/j2se-project/3">
<attribute default="${includes}" name="includes"/>
<attribute default="${excludes}" name="excludes"/>
<attribute default="**" name="testincludes"/>
<attribute default="" name="testmethods"/>
<element implicit="true" name="customize" optional="true"/>
<sequential>
<j2seproject3:testng excludes="@{excludes}" includes="@{includes}" testincludes="@{testincludes}" testmethods="@{testmethods}">
<customize/>
</j2seproject3:testng>
</sequential>
</macrodef>
</target>
<target depends="-init-macrodef-test-impl,-init-macrodef-junit-impl,-init-macrodef-testng-impl" name="-init-macrodef-test">
<macrodef name="test" uri="http://www.netbeans.org/ns/j2se-project/3">
<attribute default="${includes}" name="includes"/>
<attribute default="${excludes}" name="excludes"/>
<attribute default="**" name="testincludes"/>
<attribute default="" name="testmethods"/>
<sequential>
<j2seproject3:test-impl excludes="@{excludes}" includes="@{includes}" testincludes="@{testincludes}" testmethods="@{testmethods}">
<customize>
<classpath>
<path path="${run.test.classpath}"/>
</classpath>
<jvmarg line="${endorsed.classpath.cmd.line.arg}"/>
<jvmarg line="${run.jvmargs}"/>
<jvmarg line="${run.jvmargs.ide}"/>
</customize>
</j2seproject3:test-impl>
</sequential>
</macrodef>
</target>
<target if="${junit.available}" name="-init-macrodef-junit-debug" unless="${nb.junit.batch}">
<macrodef name="junit-debug" uri="http://www.netbeans.org/ns/j2se-project/3">
<attribute default="${includes}" name="includes"/>
<attribute default="${excludes}" name="excludes"/>
<attribute default="**" name="testincludes"/>
<attribute default="" name="testmethods"/>
<element name="customize" optional="true"/>
<sequential>
<property name="junit.forkmode" value="perTest"/>
<junit dir="${work.dir}" errorproperty="tests.failed" failureproperty="tests.failed" fork="true" forkmode="${junit.forkmode}" showoutput="true" tempdir="${build.dir}">
<test methods="@{testmethods}" name="@{testincludes}" todir="${build.test.results.dir}"/>
<syspropertyset>
<propertyref prefix="test-sys-prop."/>
<mapper from="test-sys-prop.*" to="*" type="glob"/>
</syspropertyset>
<formatter type="brief" usefile="false"/>
<formatter type="xml"/>
<jvmarg value="-ea"/>
<jvmarg line="${debug-args-line}"/>
<jvmarg value="-Xrunjdwp:transport=${debug-transport},address=${jpda.address}"/>
<customize/>
</junit>
</sequential>
</macrodef>
</target>
<target depends="-init-test-properties" if="${nb.junit.batch}" name="-init-macrodef-junit-debug-batch">
<macrodef name="junit-debug" uri="http://www.netbeans.org/ns/j2se-project/3">
<attribute default="${includes}" name="includes"/>
<attribute default="${excludes}" name="excludes"/>
<attribute default="**" name="testincludes"/>
<attribute default="" name="testmethods"/>
<element name="customize" optional="true"/>
<sequential>
<property name="junit.forkmode" value="perTest"/>
<junit dir="${work.dir}" errorproperty="tests.failed" failureproperty="tests.failed" fork="true" forkmode="${junit.forkmode}" showoutput="true" tempdir="${build.dir}">
<batchtest todir="${build.test.results.dir}">
<fileset dir="${test.src.dir}" excludes="@{excludes},${excludes}" includes="@{includes}">
<filename name="@{testincludes}"/>
</fileset>
<fileset dir="${build.test.classes.dir}" excludes="@{excludes},${excludes},${test.binaryexcludes}" includes="${test.binaryincludes}">
<filename name="${test.binarytestincludes}"/>
</fileset>
</batchtest>
<syspropertyset>
<propertyref prefix="test-sys-prop."/>
<mapper from="test-sys-prop.*" to="*" type="glob"/>
</syspropertyset>
<formatter type="brief" usefile="false"/>
<formatter type="xml"/>
<jvmarg value="-ea"/>
<jvmarg line="${debug-args-line}"/>
<jvmarg value="-Xrunjdwp:transport=${debug-transport},address=${jpda.address}"/>
<customize/>
</junit>
</sequential>
</macrodef>
</target>
<target depends="-init-macrodef-junit-debug,-init-macrodef-junit-debug-batch" if="${junit.available}" name="-init-macrodef-junit-debug-impl">
<macrodef name="test-debug-impl" uri="http://www.netbeans.org/ns/j2se-project/3">
<attribute default="${includes}" name="includes"/>
<attribute default="${excludes}" name="excludes"/>
<attribute default="**" name="testincludes"/>
<attribute default="" name="testmethods"/>
<element implicit="true" name="customize" optional="true"/>
<sequential>
<j2seproject3:junit-debug excludes="@{excludes}" includes="@{includes}" testincludes="@{testincludes}" testmethods="@{testmethods}">
<customize/>
</j2seproject3:junit-debug>
</sequential>
</macrodef>
</target>
<target if="${testng.available}" name="-init-macrodef-testng-debug">
<macrodef name="testng-debug" uri="http://www.netbeans.org/ns/j2se-project/3">
<attribute default="${main.class}" name="testClass"/>
<attribute default="" name="testMethod"/>
<element name="customize2" optional="true"/>
<sequential>
<condition else="-testclass @{testClass}" property="test.class.or.method" value="-methods @{testClass}.@{testMethod}">
<isset property="test.method"/>
</condition>
<condition else="-suitename Abstract -testname @{testClass} ${test.class.or.method}" property="testng.cmd.args" value="@{testClass}">
<matches pattern=".*\.xml" string="@{testClass}"/>
</condition>
<delete dir="${build.test.results.dir}" quiet="true"/>
<mkdir dir="${build.test.results.dir}"/>
<j2seproject3:debug classname="org.testng.TestNG" classpath="${debug.test.classpath}">
<customize>
<customize2/>
<jvmarg value="-ea"/>
<arg line="${testng.debug.mode}"/>
<arg line="-d ${build.test.results.dir}"/>
<arg line="-listener org.testng.reporters.VerboseReporter"/>
<arg line="${testng.cmd.args}"/>
</customize>
</j2seproject3:debug>
</sequential>
</macrodef>
</target>
<target depends="-init-macrodef-testng-debug" if="${testng.available}" name="-init-macrodef-testng-debug-impl">
<macrodef name="testng-debug-impl" uri="http://www.netbeans.org/ns/j2se-project/3">
<attribute default="${main.class}" name="testClass"/>
<attribute default="" name="testMethod"/>
<element implicit="true" name="customize2" optional="true"/>
<sequential>
<j2seproject3:testng-debug testClass="@{testClass}" testMethod="@{testMethod}">
<customize2/>
</j2seproject3:testng-debug>
</sequential>
</macrodef>
</target>
<target depends="-init-macrodef-junit-debug-impl" if="${junit.available}" name="-init-macrodef-test-debug-junit">
<macrodef name="test-debug" uri="http://www.netbeans.org/ns/j2se-project/3">
<attribute default="${includes}" name="includes"/>
<attribute default="${excludes}" name="excludes"/>
<attribute default="**" name="testincludes"/>
<attribute default="" name="testmethods"/>
<attribute default="${main.class}" name="testClass"/>
<attribute default="" name="testMethod"/>
<sequential>
<j2seproject3:test-debug-impl excludes="@{excludes}" includes="@{includes}" testincludes="@{testincludes}" testmethods="@{testmethods}">
<customize>
<classpath>
<path path="${run.test.classpath}"/>
</classpath>
<jvmarg line="${endorsed.classpath.cmd.line.arg}"/>
<jvmarg line="${run.jvmargs}"/>
<jvmarg line="${run.jvmargs.ide}"/>
</customize>
</j2seproject3:test-debug-impl>
</sequential>
</macrodef>
</target>
<target depends="-init-macrodef-testng-debug-impl" if="${testng.available}" name="-init-macrodef-test-debug-testng">
<macrodef name="test-debug" uri="http://www.netbeans.org/ns/j2se-project/3">
<attribute default="${includes}" name="includes"/>
<attribute default="${excludes}" name="excludes"/>
<attribute default="**" name="testincludes"/>
<attribute default="" name="testmethods"/>
<attribute default="${main.class}" name="testClass"/>
<attribute default="" name="testMethod"/>
<sequential>
<j2seproject3:testng-debug-impl testClass="@{testClass}" testMethod="@{testMethod}">
<customize2>
<syspropertyset>
<propertyref prefix="test-sys-prop."/>
<mapper from="test-sys-prop.*" to="*" type="glob"/>
</syspropertyset>
</customize2>
</j2seproject3:testng-debug-impl>
</sequential>
</macrodef>
</target>
<target depends="-init-macrodef-test-debug-junit,-init-macrodef-test-debug-testng" name="-init-macrodef-test-debug"/>
<!--
pre NB7.2 profiling section; consider it deprecated
-->
<target depends="-profile-pre-init, init, -profile-post-init, -profile-init-macrodef-profile, -profile-init-check" if="profiler.info.jvmargs.agent" name="profile-init"/>
<target if="profiler.info.jvmargs.agent" name="-profile-pre-init">
<!-- Empty placeholder for easier customization. -->
<!-- You can override this target in the ../build.xml file. -->
</target>
<target if="profiler.info.jvmargs.agent" name="-profile-post-init">
<!-- Empty placeholder for easier customization. -->
<!-- You can override this target in the ../build.xml file. -->
</target>
<target if="profiler.info.jvmargs.agent" name="-profile-init-macrodef-profile">
<macrodef name="resolve">
<attribute name="name"/>
<attribute name="value"/>
<sequential>
<property name="@{name}" value="${env.@{value}}"/>
</sequential>
</macrodef>
<macrodef name="profile">
<attribute default="${main.class}" name="classname"/>
<element name="customize" optional="true"/>
<sequential>
<property environment="env"/>
<resolve name="profiler.current.path" value="${profiler.info.pathvar}"/>
<java classname="@{classname}" dir="${profiler.info.dir}" failonerror="${java.failonerror}" fork="true" jvm="${profiler.info.jvm}">
<jvmarg line="${endorsed.classpath.cmd.line.arg}"/>
<jvmarg value="${profiler.info.jvmargs.agent}"/>
<jvmarg line="${profiler.info.jvmargs}"/>
<env key="${profiler.info.pathvar}" path="${profiler.info.agentpath}:${profiler.current.path}"/>
<arg line="${application.args}"/>
<classpath>
<path path="${run.classpath}"/>
</classpath>
<syspropertyset>
<propertyref prefix="run-sys-prop."/>
<mapper from="run-sys-prop.*" to="*" type="glob"/>
</syspropertyset>
<customize/>
</java>
</sequential>
</macrodef>
</target>
<target depends="-profile-pre-init, init, -profile-post-init, -profile-init-macrodef-profile" if="profiler.info.jvmargs.agent" name="-profile-init-check">
<fail unless="profiler.info.jvm">Must set JVM to use for profiling in profiler.info.jvm</fail>
<fail unless="profiler.info.jvmargs.agent">Must set profiler agent JVM arguments in profiler.info.jvmargs.agent</fail>
</target>
<!--
end of pre NB7.2 profiling section
-->
<target depends="-init-debug-args" name="-init-macrodef-nbjpda">
<macrodef name="nbjpdastart" uri="http://www.netbeans.org/ns/j2se-project/1">
<attribute default="${main.class}" name="name"/>
<attribute default="${debug.classpath}" name="classpath"/>
<attribute default="" name="stopclassname"/>
<sequential>
<nbjpdastart addressproperty="jpda.address" name="@{name}" stopclassname="@{stopclassname}" transport="${debug-transport}">
<classpath>
<path path="@{classpath}"/>
</classpath>
</nbjpdastart>
</sequential>
</macrodef>
<macrodef name="nbjpdareload" uri="http://www.netbeans.org/ns/j2se-project/1">
<attribute default="${build.classes.dir}" name="dir"/>
<sequential>
<nbjpdareload>
<fileset dir="@{dir}" includes="${fix.classes}">
<include name="${fix.includes}*.class"/>
</fileset>
</nbjpdareload>
</sequential>
</macrodef>
</target>
<target name="-init-debug-args">
<property name="version-output" value="java version "${ant.java.version}"/>
<condition property="have-jdk-older-than-1.4">
<or>
<contains string="${version-output}" substring="java version "1.0"/>
<contains string="${version-output}" substring="java version "1.1"/>
<contains string="${version-output}" substring="java version "1.2"/>
<contains string="${version-output}" substring="java version "1.3"/>
</or>
</condition>
<condition else="-Xdebug" property="debug-args-line" value="-Xdebug -Xnoagent -Djava.compiler=none">
<istrue value="${have-jdk-older-than-1.4}"/>
</condition>
<condition else="dt_socket" property="debug-transport-by-os" value="dt_shmem">
<os family="windows"/>
</condition>
<condition else="${debug-transport-by-os}" property="debug-transport" value="${debug.transport}">
<isset property="debug.transport"/>
</condition>
</target>
<target depends="-init-debug-args" name="-init-macrodef-debug">
<macrodef name="debug" uri="http://www.netbeans.org/ns/j2se-project/3">
<attribute default="${main.class}" name="classname"/>
<attribute default="${debug.classpath}" name="classpath"/>
<element name="customize" optional="true"/>
<sequential>
<java classname="@{classname}" dir="${work.dir}" failonerror="${java.failonerror}" fork="true">
<jvmarg line="${endorsed.classpath.cmd.line.arg}"/>
<jvmarg line="${debug-args-line}"/>
<jvmarg value="-Xrunjdwp:transport=${debug-transport},address=${jpda.address}"/>
<jvmarg value="-Dfile.encoding=${runtime.encoding}"/>
<redirector errorencoding="${runtime.encoding}" inputencoding="${runtime.encoding}" outputencoding="${runtime.encoding}"/>
<jvmarg line="${run.jvmargs}"/>
<jvmarg line="${run.jvmargs.ide}"/>
<classpath>
<path path="@{classpath}"/>
</classpath>
<syspropertyset>
<propertyref prefix="run-sys-prop."/>
<mapper from="run-sys-prop.*" to="*" type="glob"/>
</syspropertyset>
<customize/>
</java>
</sequential>
</macrodef>
</target>
<target name="-init-macrodef-java">
<macrodef name="java" uri="http://www.netbeans.org/ns/j2se-project/1">
<attribute default="${main.class}" name="classname"/>
<attribute default="${run.classpath}" name="classpath"/>
<attribute default="jvm" name="jvm"/>
<element name="customize" optional="true"/>
<sequential>
<java classname="@{classname}" dir="${work.dir}" failonerror="${java.failonerror}" fork="true">
<jvmarg line="${endorsed.classpath.cmd.line.arg}"/>
<jvmarg value="-Dfile.encoding=${runtime.encoding}"/>
<redirector errorencoding="${runtime.encoding}" inputencoding="${runtime.encoding}" outputencoding="${runtime.encoding}"/>
<jvmarg line="${run.jvmargs}"/>
<jvmarg line="${run.jvmargs.ide}"/>
<classpath>
<path path="@{classpath}"/>
</classpath>
<syspropertyset>
<propertyref prefix="run-sys-prop."/>
<mapper from="run-sys-prop.*" to="*" type="glob"/>
</syspropertyset>
<customize/>
</java>
</sequential>
</macrodef>
</target>
<target name="-init-macrodef-copylibs">
<macrodef name="copylibs" uri="http://www.netbeans.org/ns/j2se-project/3">
<attribute default="${manifest.file}" name="manifest"/>
<element name="customize" optional="true"/>
<sequential>
<property location="${build.classes.dir}" name="build.classes.dir.resolved"/>
<pathconvert property="run.classpath.without.build.classes.dir">
<path path="${run.classpath}"/>
<map from="${build.classes.dir.resolved}" to=""/>
</pathconvert>
<pathconvert pathsep=" " property="jar.classpath">
<path path="${run.classpath.without.build.classes.dir}"/>
<chainedmapper>
<flattenmapper/>
<filtermapper>
<replacestring from=" " to="%20"/>
</filtermapper>
<globmapper from="*" to="lib/*"/>
</chainedmapper>
</pathconvert>
<taskdef classname="org.netbeans.modules.java.j2seproject.copylibstask.CopyLibs" classpath="${libs.CopyLibs.classpath}" name="copylibs"/>
<copylibs compress="${jar.compress}" excludeFromCopy="${copylibs.excludes}" index="${jar.index}" indexMetaInf="${jar.index.metainf}" jarfile="${dist.jar}" manifest="@{manifest}" manifestencoding="UTF-8" rebase="${copylibs.rebase}" runtimeclasspath="${run.classpath.without.build.classes.dir}">
<fileset dir="${build.classes.dir}" excludes="${dist.archive.excludes}"/>
<manifest>
<attribute name="Class-Path" value="${jar.classpath}"/>
<customize/>
</manifest>
</copylibs>
</sequential>
</macrodef>
</target>
<target name="-init-presetdef-jar">
<presetdef name="jar" uri="http://www.netbeans.org/ns/j2se-project/1">
<jar compress="${jar.compress}" index="${jar.index}" jarfile="${dist.jar}" manifestencoding="UTF-8">
<j2seproject1:fileset dir="${build.classes.dir}" excludes="${dist.archive.excludes}"/>
</jar>
</presetdef>
</target>
<target name="-init-ap-cmdline-properties">
<property name="annotation.processing.enabled" value="true"/>
<property name="annotation.processing.processors.list" value=""/>
<property name="annotation.processing.processor.options" value=""/>
<property name="annotation.processing.run.all.processors" value="true"/>
<property name="javac.processorpath" value="${javac.classpath}"/>
<property name="javac.test.processorpath" value="${javac.test.classpath}"/>
<condition property="ap.supported.internal" value="true">
<not>
<matches pattern="1\.[0-5](\..*)?" string="${javac.source}"/>
</not>
</condition>
</target>
<target depends="-init-ap-cmdline-properties" if="ap.supported.internal" name="-init-ap-cmdline-supported">
<condition else="" property="ap.processors.internal" value="-processor ${annotation.processing.processors.list}">
<isfalse value="${annotation.processing.run.all.processors}"/>
</condition>
<condition else="" property="ap.proc.none.internal" value="-proc:none">
<isfalse value="${annotation.processing.enabled}"/>
</condition>
</target>
<target depends="-init-ap-cmdline-properties,-init-ap-cmdline-supported" name="-init-ap-cmdline">
<property name="ap.cmd.line.internal" value=""/>
</target>
<target depends="-pre-init,-init-private,-init-user,-init-project,-do-init,-post-init,-init-check,-init-macrodef-property,-init-macrodef-javac,-init-macrodef-test,-init-macrodef-test-debug,-init-macrodef-nbjpda,-init-macrodef-debug,-init-macrodef-java,-init-presetdef-jar,-init-ap-cmdline" name="init"/>
<!--
===================
COMPILATION SECTION
===================
-->
<target name="-deps-jar-init" unless="built-jar.properties">
<property location="${build.dir}/built-jar.properties" name="built-jar.properties"/>
<delete file="${built-jar.properties}" quiet="true"/>
</target>
<target if="already.built.jar.${basedir}" name="-warn-already-built-jar">
<echo level="warn" message="Cycle detected: Abstract was already built"/>
</target>
<target depends="init,-deps-jar-init" name="deps-jar" unless="no.deps">
<mkdir dir="${build.dir}"/>
<touch file="${built-jar.properties}" verbose="false"/>
<property file="${built-jar.properties}" prefix="already.built.jar."/>
<antcall target="-warn-already-built-jar"/>
<propertyfile file="${built-jar.properties}">
<entry key="${basedir}" value=""/>
</propertyfile>
</target>
<target depends="init,-check-automatic-build,-clean-after-automatic-build" name="-verify-automatic-build"/>
<target depends="init" name="-check-automatic-build">
<available file="${build.classes.dir}/.netbeans_automatic_build" property="netbeans.automatic.build"/>
</target>
<target depends="init" if="netbeans.automatic.build" name="-clean-after-automatic-build">
<antcall target="clean"/>
</target>
<target depends="init,deps-jar" name="-pre-pre-compile">
<mkdir dir="${build.classes.dir}"/>
</target>
<target name="-pre-compile">
<!-- Empty placeholder for easier customization. -->
<!-- You can override this target in the ../build.xml file. -->
</target>
<target if="do.depend.true" name="-compile-depend">
<pathconvert property="build.generated.subdirs">
<dirset dir="${build.generated.sources.dir}" erroronmissingdir="false">
<include name="*"/>
</dirset>
</pathconvert>
<j2seproject3:depend srcdir="${src.dir}:${build.generated.subdirs}"/>
</target>
<target depends="init,deps-jar,-pre-pre-compile,-pre-compile, -copy-persistence-xml,-compile-depend" if="have.sources" name="-do-compile">
<j2seproject3:javac gensrcdir="${build.generated.sources.dir}"/>
<copy todir="${build.classes.dir}">
<fileset dir="${src.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
</copy>
</target>
<target if="has.persistence.xml" name="-copy-persistence-xml">
<mkdir dir="${build.classes.dir}/META-INF"/>
<copy todir="${build.classes.dir}/META-INF">
<fileset dir="${meta.inf.dir}" includes="persistence.xml orm.xml"/>
</copy>
</target>
<target name="-post-compile">
<!-- Empty placeholder for easier customization. -->
<!-- You can override this target in the ../build.xml file. -->
</target>
<target depends="init,deps-jar,-verify-automatic-build,-pre-pre-compile,-pre-compile,-do-compile,-post-compile" description="Compile project." name="compile"/>
<target name="-pre-compile-single">
<!-- Empty placeholder for easier customization. -->
<!-- You can override this target in the ../build.xml file. -->
</target>
<target depends="init,deps-jar,-pre-pre-compile" name="-do-compile-single">
<fail unless="javac.includes">Must select some files in the IDE or set javac.includes</fail>
<j2seproject3:force-recompile/>
<j2seproject3:javac excludes="" gensrcdir="${build.generated.sources.dir}" includes="${javac.includes}" sourcepath="${src.dir}"/>
</target>
<target name="-post-compile-single">
<!-- Empty placeholder for easier customization. -->
<!-- You can override this target in the ../build.xml file. -->
</target>
<target depends="init,deps-jar,-verify-automatic-build,-pre-pre-compile,-pre-compile-single,-do-compile-single,-post-compile-single" name="compile-single"/>
<!--
====================
JAR BUILDING SECTION
====================
-->
<target depends="init" name="-pre-pre-jar">
<dirname file="${dist.jar}" property="dist.jar.dir"/>
<mkdir dir="${dist.jar.dir}"/>
</target>
<target name="-pre-jar">
<!-- Empty placeholder for easier customization. -->
<!-- You can override this target in the ../build.xml file. -->
</target>
<target depends="init" if="do.archive" name="-do-jar-create-manifest" unless="manifest.available">
<tempfile deleteonexit="true" destdir="${build.dir}" property="tmp.manifest.file"/>
<touch file="${tmp.manifest.file}" verbose="false"/>
</target>
<target depends="init" if="do.archive+manifest.available" name="-do-jar-copy-manifest">
<tempfile deleteonexit="true" destdir="${build.dir}" property="tmp.manifest.file"/>
<copy encoding="${manifest.encoding}" file="${manifest.file}" outputencoding="UTF-8" tofile="${tmp.manifest.file}"/>
</target>
<target depends="init,-do-jar-create-manifest,-do-jar-copy-manifest" if="do.archive+main.class.available" name="-do-jar-set-mainclass">
<manifest encoding="UTF-8" file="${tmp.manifest.file}" mode="update">
<attribute name="Main-Class" value="${main.class}"/>
</manifest>
</target>
<target depends="init,-do-jar-create-manifest,-do-jar-copy-manifest" if="do.archive+profile.available" name="-do-jar-set-profile">
<manifest encoding="UTF-8" file="${tmp.manifest.file}" mode="update">
<attribute name="Profile" value="${javac.profile}"/>
</manifest>
</target>
<target depends="init,-do-jar-create-manifest,-do-jar-copy-manifest" if="do.archive+splashscreen.available" name="-do-jar-set-splashscreen">
<basename file="${application.splash}" property="splashscreen.basename"/>
<mkdir dir="${build.classes.dir}/META-INF"/>
<copy failonerror="false" file="${application.splash}" todir="${build.classes.dir}/META-INF"/>
<manifest encoding="UTF-8" file="${tmp.manifest.file}" mode="update">
<attribute name="SplashScreen-Image" value="META-INF/${splashscreen.basename}"/>
</manifest>
</target>
<target depends="init,-init-macrodef-copylibs,compile,-pre-pre-jar,-pre-jar,-do-jar-create-manifest,-do-jar-copy-manifest,-do-jar-set-mainclass,-do-jar-set-profile,-do-jar-set-splashscreen" if="do.mkdist" name="-do-jar-copylibs">
<j2seproject3:copylibs manifest="${tmp.manifest.file}"/>
<echo level="info">To run this application from the command line without Ant, try:</echo>
<property location="${dist.jar}" name="dist.jar.resolved"/>
<echo level="info">java -jar "${dist.jar.resolved}"</echo>
</target>
<target depends="init,compile,-pre-pre-jar,-pre-jar,-do-jar-create-manifest,-do-jar-copy-manifest,-do-jar-set-mainclass,-do-jar-set-profile,-do-jar-set-splashscreen" if="do.archive" name="-do-jar-jar" unless="do.mkdist">
<j2seproject1:jar manifest="${tmp.manifest.file}"/>
<property location="${build.classes.dir}" name="build.classes.dir.resolved"/>
<property location="${dist.jar}" name="dist.jar.resolved"/>
<pathconvert property="run.classpath.with.dist.jar">
<path path="${run.classpath}"/>
<map from="${build.classes.dir.resolved}" to="${dist.jar.resolved}"/>
</pathconvert>
<condition else="" property="jar.usage.message" value="To run this application from the command line without Ant, try:${line.separator}${platform.java} -cp ${run.classpath.with.dist.jar} ${main.class}">
<isset property="main.class.available"/>
</condition>
<condition else="debug" property="jar.usage.level" value="info">
<isset property="main.class.available"/>
</condition>
<echo level="${jar.usage.level}" message="${jar.usage.message}"/>
</target>
<target depends="-do-jar-copylibs" if="do.archive" name="-do-jar-delete-manifest">
<delete>
<fileset file="${tmp.manifest.file}"/>
</delete>
</target>
<target depends="init,compile,-pre-pre-jar,-pre-jar,-do-jar-create-manifest,-do-jar-copy-manifest,-do-jar-set-mainclass,-do-jar-set-profile,-do-jar-set-splashscreen,-do-jar-jar,-do-jar-delete-manifest" name="-do-jar-without-libraries"/>
<target depends="init,compile,-pre-pre-jar,-pre-jar,-do-jar-create-manifest,-do-jar-copy-manifest,-do-jar-set-mainclass,-do-jar-set-profile,-do-jar-set-splashscreen,-do-jar-copylibs,-do-jar-delete-manifest" name="-do-jar-with-libraries"/>
<target name="-post-jar">
<!-- Empty placeholder for easier customization. -->
<!-- You can override this target in the ../build.xml file. -->
</target>
<target depends="init,compile,-pre-jar,-do-jar-without-libraries,-do-jar-with-libraries,-post-jar" name="-do-jar"/>
<target depends="init,compile,-pre-jar,-do-jar,-post-jar" description="Build JAR." name="jar"/>
<!--
=================
EXECUTION SECTION
=================
-->
<target depends="init,compile" description="Run a main class." name="run">
<j2seproject1:java>
<customize>
<arg line="${application.args}"/>
</customize>
</j2seproject1:java>
</target>
<target name="-do-not-recompile">
<property name="javac.includes.binary" value=""/>
</target>
<target depends="init,compile-single" name="run-single">
<fail unless="run.class">Must select one file in the IDE or set run.class</fail>
<j2seproject1:java classname="${run.class}"/>
</target>
<target depends="init,compile-test-single" name="run-test-with-main">
<fail unless="run.class">Must select one file in the IDE or set run.class</fail>
<j2seproject1:java classname="${run.class}" classpath="${run.test.classpath}"/>
</target>
<!--
=================
DEBUGGING SECTION
=================
-->
<target depends="init" if="netbeans.home" name="-debug-start-debugger">
<j2seproject1:nbjpdastart name="${debug.class}"/>
</target>
<target depends="init" if="netbeans.home" name="-debug-start-debugger-main-test">
<j2seproject1:nbjpdastart classpath="${debug.test.classpath}" name="${debug.class}"/>
</target>
<target depends="init,compile" name="-debug-start-debuggee">
<j2seproject3:debug>
<customize>
<arg line="${application.args}"/>
</customize>
</j2seproject3:debug>
</target>
<target depends="init,compile,-debug-start-debugger,-debug-start-debuggee" description="Debug project in IDE." if="netbeans.home" name="debug"/>
<target depends="init" if="netbeans.home" name="-debug-start-debugger-stepinto">
<j2seproject1:nbjpdastart stopclassname="${main.class}"/>
</target>
<target depends="init,compile,-debug-start-debugger-stepinto,-debug-start-debuggee" if="netbeans.home" name="debug-stepinto"/>
<target depends="init,compile-single" if="netbeans.home" name="-debug-start-debuggee-single">
<fail unless="debug.class">Must select one file in the IDE or set debug.class</fail>
<j2seproject3:debug classname="${debug.class}"/>
</target>
<target depends="init,compile-single,-debug-start-debugger,-debug-start-debuggee-single" if="netbeans.home" name="debug-single"/>
<target depends="init,compile-test-single" if="netbeans.home" name="-debug-start-debuggee-main-test">
<fail unless="debug.class">Must select one file in the IDE or set debug.class</fail>
<j2seproject3:debug classname="${debug.class}" classpath="${debug.test.classpath}"/>
</target>
<target depends="init,compile-test-single,-debug-start-debugger-main-test,-debug-start-debuggee-main-test" if="netbeans.home" name="debug-test-with-main"/>
<target depends="init" name="-pre-debug-fix">
<fail unless="fix.includes">Must set fix.includes</fail>
<property name="javac.includes" value="${fix.includes}.java"/>
</target>
<target depends="init,-pre-debug-fix,compile-single" if="netbeans.home" name="-do-debug-fix">
<j2seproject1:nbjpdareload/>
</target>
<target depends="init,-pre-debug-fix,-do-debug-fix" if="netbeans.home" name="debug-fix"/>
<!--
=================
PROFILING SECTION
=================
-->
<!--
pre NB7.2 profiler integration
-->
<target depends="profile-init,compile" description="Profile a project in the IDE." if="profiler.info.jvmargs.agent" name="-profile-pre72">
<fail unless="netbeans.home">This target only works when run from inside the NetBeans IDE.</fail>
<nbprofiledirect>
<classpath>
<path path="${run.classpath}"/>
</classpath>
</nbprofiledirect>
<profile/>
</target>
<target depends="profile-init,compile-single" description="Profile a selected class in the IDE." if="profiler.info.jvmargs.agent" name="-profile-single-pre72">
<fail unless="profile.class">Must select one file in the IDE or set profile.class</fail>
<fail unless="netbeans.home">This target only works when run from inside the NetBeans IDE.</fail>
<nbprofiledirect>
<classpath>
<path path="${run.classpath}"/>
</classpath>
</nbprofiledirect>
<profile classname="${profile.class}"/>
</target>
<target depends="profile-init,compile-single" if="profiler.info.jvmargs.agent" name="-profile-applet-pre72">
<fail unless="netbeans.home">This target only works when run from inside the NetBeans IDE.</fail>
<nbprofiledirect>
<classpath>
<path path="${run.classpath}"/>
</classpath>
</nbprofiledirect>
<profile classname="sun.applet.AppletViewer">
<customize>
<arg value="${applet.url}"/>
</customize>
</profile>
</target>
<target depends="profile-init,compile-test-single" if="profiler.info.jvmargs.agent" name="-profile-test-single-pre72">
<fail unless="netbeans.home">This target only works when run from inside the NetBeans IDE.</fail>
<nbprofiledirect>
<classpath>
<path path="${run.test.classpath}"/>
</classpath>
</nbprofiledirect>
<junit dir="${profiler.info.dir}" errorproperty="tests.failed" failureproperty="tests.failed" fork="true" jvm="${profiler.info.jvm}" showoutput="true">
<env key="${profiler.info.pathvar}" path="${profiler.info.agentpath}:${profiler.current.path}"/>
<jvmarg value="${profiler.info.jvmargs.agent}"/>
<jvmarg line="${profiler.info.jvmargs}"/>
<test name="${profile.class}"/>
<classpath>
<path path="${run.test.classpath}"/>
</classpath>
<syspropertyset>
<propertyref prefix="test-sys-prop."/>
<mapper from="test-sys-prop.*" to="*" type="glob"/>
</syspropertyset>
<formatter type="brief" usefile="false"/>
<formatter type="xml"/>
</junit>
</target>
<!--
end of pre NB72 profiling section
-->
<target if="netbeans.home" name="-profile-check">
<condition property="profiler.configured">
<or>
<contains casesensitive="true" string="${run.jvmargs.ide}" substring="-agentpath:"/>
<contains casesensitive="true" string="${run.jvmargs.ide}" substring="-javaagent:"/>
</or>
</condition>
</target>
<target depends="-profile-check,-profile-pre72" description="Profile a project in the IDE." if="profiler.configured" name="profile" unless="profiler.info.jvmargs.agent">
<startprofiler/>
<antcall target="run"/>
</target>
<target depends="-profile-check,-profile-single-pre72" description="Profile a selected class in the IDE." if="profiler.configured" name="profile-single" unless="profiler.info.jvmargs.agent">
<fail unless="run.class">Must select one file in the IDE or set run.class</fail>
<startprofiler/>
<antcall target="run-single"/>
</target>
<target depends="-profile-test-single-pre72" description="Profile a selected test in the IDE." name="profile-test-single"/>
<target depends="-profile-check" description="Profile a selected test in the IDE." if="profiler.configured" name="profile-test" unless="profiler.info.jvmargs">
<fail unless="test.includes">Must select some files in the IDE or set test.includes</fail>
<startprofiler/>
<antcall target="test-single"/>
</target>
<target depends="-profile-check" description="Profile a selected class in the IDE." if="profiler.configured" name="profile-test-with-main">
<fail unless="run.class">Must select one file in the IDE or set run.class</fail>
<startprofiler/>
<antcall target="run-test-with-main"/>
</target>
<target depends="-profile-check,-profile-applet-pre72" if="profiler.configured" name="profile-applet" unless="profiler.info.jvmargs.agent">
<fail unless="applet.url">Must select one file in the IDE or set applet.url</fail>
<startprofiler/>
<antcall target="run-applet"/>
</target>
<!--
===============
JAVADOC SECTION
===============
-->
<target depends="init" if="have.sources" name="-javadoc-build">
<mkdir dir="${dist.javadoc.dir}"/>
<condition else="" property="javadoc.endorsed.classpath.cmd.line.arg" value="-J${endorsed.classpath.cmd.line.arg}">
<and>
<isset property="endorsed.classpath.cmd.line.arg"/>
<not>
<equals arg1="${endorsed.classpath.cmd.line.arg}" arg2=""/>
</not>
</and>
</condition>
<condition else="" property="bug5101868workaround" value="*.java">
<matches pattern="1\.[56](\..*)?" string="${java.version}"/>
</condition>
<javadoc additionalparam="-J-Dfile.encoding=${file.encoding} ${javadoc.additionalparam}" author="${javadoc.author}" charset="UTF-8" destdir="${dist.javadoc.dir}" docencoding="UTF-8" encoding="${javadoc.encoding.used}" failonerror="true" noindex="${javadoc.noindex}" nonavbar="${javadoc.nonavbar}" notree="${javadoc.notree}" private="${javadoc.private}" source="${javac.source}" splitindex="${javadoc.splitindex}" use="${javadoc.use}" useexternalfile="true" version="${javadoc.version}" windowtitle="${javadoc.windowtitle}">
<classpath>
<path path="${javac.classpath}"/>
</classpath>
<fileset dir="${src.dir}" excludes="${bug5101868workaround},${excludes}" includes="${includes}">
<filename name="**/*.java"/>
</fileset>
<fileset dir="${build.generated.sources.dir}" erroronmissingdir="false">
<include name="**/*.java"/>
<exclude name="*.java"/>
</fileset>
<arg line="${javadoc.endorsed.classpath.cmd.line.arg}"/>
</javadoc>
<copy todir="${dist.javadoc.dir}">
<fileset dir="${src.dir}" excludes="${excludes}" includes="${includes}">
<filename name="**/doc-files/**"/>
</fileset>
<fileset dir="${build.generated.sources.dir}" erroronmissingdir="false">
<include name="**/doc-files/**"/>
</fileset>
</copy>
</target>
<target depends="init,-javadoc-build" if="netbeans.home" name="-javadoc-browse" unless="no.javadoc.preview">
<nbbrowse file="${dist.javadoc.dir}/index.html"/>
</target>
<target depends="init,-javadoc-build,-javadoc-browse" description="Build Javadoc." name="javadoc"/>
<!--
=========================
TEST COMPILATION SECTION
=========================
-->
<target depends="init,compile" if="have.tests" name="-pre-pre-compile-test">
<mkdir dir="${build.test.classes.dir}"/>
</target>
<target name="-pre-compile-test">
<!-- Empty placeholder for easier customization. -->
<!-- You can override this target in the ../build.xml file. -->
</target>
<target if="do.depend.true" name="-compile-test-depend">
<j2seproject3:depend classpath="${javac.test.classpath}" destdir="${build.test.classes.dir}" srcdir="${test.src.dir}"/>
</target>
<target depends="init,deps-jar,compile,-pre-pre-compile-test,-pre-compile-test,-compile-test-depend" if="have.tests" name="-do-compile-test">
<j2seproject3:javac apgeneratedsrcdir="${build.test.classes.dir}" classpath="${javac.test.classpath}" debug="true" destdir="${build.test.classes.dir}" processorpath="${javac.test.processorpath}" srcdir="${test.src.dir}"/>
<copy todir="${build.test.classes.dir}">
<fileset dir="${test.src.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
</copy>
</target>
<target name="-post-compile-test">
<!-- Empty placeholder for easier customization. -->
<!-- You can override this target in the ../build.xml file. -->
</target>
<target depends="init,compile,-pre-pre-compile-test,-pre-compile-test,-do-compile-test,-post-compile-test" name="compile-test"/>
<target name="-pre-compile-test-single">
<!-- Empty placeholder for easier customization. -->
<!-- You can override this target in the ../build.xml file. -->
</target>
<target depends="init,deps-jar,compile,-pre-pre-compile-test,-pre-compile-test-single" if="have.tests" name="-do-compile-test-single">
<fail unless="javac.includes">Must select some files in the IDE or set javac.includes</fail>
<j2seproject3:force-recompile destdir="${build.test.classes.dir}"/>
<j2seproject3:javac apgeneratedsrcdir="${build.test.classes.dir}" classpath="${javac.test.classpath}" debug="true" destdir="${build.test.classes.dir}" excludes="" includes="${javac.includes}" processorpath="${javac.test.processorpath}" sourcepath="${test.src.dir}" srcdir="${test.src.dir}"/>
<copy todir="${build.test.classes.dir}">
<fileset dir="${test.src.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
</copy>
</target>
<target name="-post-compile-test-single">
<!-- Empty placeholder for easier customization. -->
<!-- You can override this target in the ../build.xml file. -->
</target>
<target depends="init,compile,-pre-pre-compile-test,-pre-compile-test-single,-do-compile-test-single,-post-compile-test-single" name="compile-test-single"/>
<!--
=======================
TEST EXECUTION SECTION
=======================
-->
<target depends="init" if="have.tests" name="-pre-test-run">
<mkdir dir="${build.test.results.dir}"/>
</target>
<target depends="init,compile-test,-pre-test-run" if="have.tests" name="-do-test-run">
<j2seproject3:test includes="${includes}" testincludes="**/*Test.java"/>
</target>
<target depends="init,compile-test,-pre-test-run,-do-test-run" if="have.tests" name="-post-test-run">
<fail if="tests.failed" unless="ignore.failing.tests">Some tests failed; see details above.</fail>
</target>
<target depends="init" if="have.tests" name="test-report"/>
<target depends="init" if="netbeans.home+have.tests" name="-test-browse"/>
<target depends="init,compile-test,-pre-test-run,-do-test-run,test-report,-post-test-run,-test-browse" description="Run unit tests." name="test"/>
<target depends="init" if="have.tests" name="-pre-test-run-single">
<mkdir dir="${build.test.results.dir}"/>
</target>
<target depends="init,compile-test-single,-pre-test-run-single" if="have.tests" name="-do-test-run-single">
<fail unless="test.includes">Must select some files in the IDE or set test.includes</fail>
<j2seproject3:test excludes="" includes="${test.includes}" testincludes="${test.includes}"/>
</target>
<target depends="init,compile-test-single,-pre-test-run-single,-do-test-run-single" if="have.tests" name="-post-test-run-single">
<fail if="tests.failed" unless="ignore.failing.tests">Some tests failed; see details above.</fail>
</target>
<target depends="init,compile-test-single,-pre-test-run-single,-do-test-run-single,-post-test-run-single" description="Run single unit test." name="test-single"/>
<target depends="init,compile-test-single,-pre-test-run-single" if="have.tests" name="-do-test-run-single-method">
<fail unless="test.class">Must select some files in the IDE or set test.class</fail>
<fail unless="test.method">Must select some method in the IDE or set test.method</fail>
<j2seproject3:test excludes="" includes="${javac.includes}" testincludes="${test.class}" testmethods="${test.method}"/>
</target>
<target depends="init,compile-test-single,-pre-test-run-single,-do-test-run-single-method" if="have.tests" name="-post-test-run-single-method">
<fail if="tests.failed" unless="ignore.failing.tests">Some tests failed; see details above.</fail>
</target>
<target depends="init,compile-test-single,-pre-test-run-single,-do-test-run-single-method,-post-test-run-single-method" description="Run single unit test." name="test-single-method"/>
<!--
=======================
TEST DEBUGGING SECTION
=======================
-->
<target depends="init,compile-test-single,-pre-test-run-single" if="have.tests" name="-debug-start-debuggee-test">
<fail unless="test.class">Must select one file in the IDE or set test.class</fail>
<j2seproject3:test-debug excludes="" includes="${javac.includes}" testClass="${test.class}" testincludes="${javac.includes}"/>
</target>
<target depends="init,compile-test-single,-pre-test-run-single" if="have.tests" name="-debug-start-debuggee-test-method">
<fail unless="test.class">Must select one file in the IDE or set test.class</fail>
<fail unless="test.method">Must select some method in the IDE or set test.method</fail>
<j2seproject3:test-debug excludes="" includes="${javac.includes}" testClass="${test.class}" testMethod="${test.method}" testincludes="${test.class}" testmethods="${test.method}"/>
</target>
<target depends="init,compile-test" if="netbeans.home+have.tests" name="-debug-start-debugger-test">
<j2seproject1:nbjpdastart classpath="${debug.test.classpath}" name="${test.class}"/>
</target>
<target depends="init,compile-test-single,-debug-start-debugger-test,-debug-start-debuggee-test" name="debug-test"/>
<target depends="init,compile-test-single,-debug-start-debugger-test,-debug-start-debuggee-test-method" name="debug-test-method"/>
<target depends="init,-pre-debug-fix,compile-test-single" if="netbeans.home" name="-do-debug-fix-test">
<j2seproject1:nbjpdareload dir="${build.test.classes.dir}"/>
</target>
<target depends="init,-pre-debug-fix,-do-debug-fix-test" if="netbeans.home" name="debug-fix-test"/>
<!--
=========================
APPLET EXECUTION SECTION
=========================
-->
<target depends="init,compile-single" name="run-applet">
<fail unless="applet.url">Must select one file in the IDE or set applet.url</fail>
<j2seproject1:java classname="sun.applet.AppletViewer">
<customize>
<arg value="${applet.url}"/>
</customize>
</j2seproject1:java>
</target>
<!--
=========================
APPLET DEBUGGING SECTION
=========================
-->
<target depends="init,compile-single" if="netbeans.home" name="-debug-start-debuggee-applet">
<fail unless="applet.url">Must select one file in the IDE or set applet.url</fail>
<j2seproject3:debug classname="sun.applet.AppletViewer">
<customize>
<arg value="${applet.url}"/>
</customize>
</j2seproject3:debug>
</target>
<target depends="init,compile-single,-debug-start-debugger,-debug-start-debuggee-applet" if="netbeans.home" name="debug-applet"/>
<!--
===============
CLEANUP SECTION
===============
-->
<target name="-deps-clean-init" unless="built-clean.properties">
<property location="${build.dir}/built-clean.properties" name="built-clean.properties"/>
<delete file="${built-clean.properties}" quiet="true"/>
</target>
<target if="already.built.clean.${basedir}" name="-warn-already-built-clean">
<echo level="warn" message="Cycle detected: Abstract was already built"/>
</target>
<target depends="init,-deps-clean-init" name="deps-clean" unless="no.deps">
<mkdir dir="${build.dir}"/>
<touch file="${built-clean.properties}" verbose="false"/>
<property file="${built-clean.properties}" prefix="already.built.clean."/>
<antcall target="-warn-already-built-clean"/>
<propertyfile file="${built-clean.properties}">
<entry key="${basedir}" value=""/>
</propertyfile>
</target>
<target depends="init" name="-do-clean">
<delete dir="${build.dir}"/>
<delete dir="${dist.dir}" followsymlinks="false" includeemptydirs="true"/>
</target>
<target name="-post-clean">
<!-- Empty placeholder for easier customization. -->
<!-- You can override this target in the ../build.xml file. -->
</target>
<target depends="init,deps-clean,-do-clean,-post-clean" description="Clean build products." name="clean"/>
<target name="-check-call-dep">
<property file="${call.built.properties}" prefix="already.built."/>
<condition property="should.call.dep">
<and>
<not>
<isset property="already.built.${call.subproject}"/>
</not>
<available file="${call.script}"/>
</and>
</condition>
</target>
<target depends="-check-call-dep" if="should.call.dep" name="-maybe-call-dep">
<ant antfile="${call.script}" inheritall="false" target="${call.target}">
<propertyset>
<propertyref prefix="transfer."/>
<mapper from="transfer.*" to="*" type="glob"/>
</propertyset>
</ant>
</target>
</project>
================================================
FILE: Code/Abstract/nbproject/genfiles.properties
================================================
build.xml.data.CRC32=b9f34745
build.xml.script.CRC32=7e99ad47
build.xml.stylesheet.CRC32=8064a381@1.80.1.48
# This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml.
# Do not edit this file. You may delete it but then the IDE will never regenerate such files for you.
nbproject/build-impl.xml.data.CRC32=b9f34745
nbproject/build-impl.xml.script.CRC32=b75cecfa
nbproject/build-impl.xml.stylesheet.CRC32=830a3534@1.80.1.48
================================================
FILE: Code/Abstract/nbproject/project.properties
================================================
annotation.processing.enabled=true
annotation.processing.enabled.in.editor=false
annotation.processing.processor.options=
annotation.processing.processors.list=
annotation.processing.run.all.processors=true
annotation.processing.source.output=${build.generated.sources.dir}/ap-source-output
build.classes.dir=${build.dir}/classes
build.classes.excludes=**/*.java,**/*.form
# This directory is removed when the project is cleaned:
build.dir=build
build.generated.dir=${build.dir}/generated
build.generated.sources.dir=${build.dir}/generated-sources
# Only compile against the classpath explicitly listed here:
build.sysclasspath=ignore
build.test.classes.dir=${build.dir}/test/classes
build.test.results.dir=${build.dir}/test/results
# Uncomment to specify the preferred debugger connection transport:
#debug.transport=dt_socket
debug.classpath=\
${run.classpath}
debug.test.classpath=\
${run.test.classpath}
# Files in build.classes.dir which should be excluded from distribution jar
dist.archive.excludes=
# This directory is removed when the project is cleaned:
dist.dir=dist
dist.jar=${dist.dir}/Abstract.jar
dist.javadoc.dir=${dist.dir}/javadoc
excludes=
includes=**
jar.compress=false
javac.classpath=
# Space-separated list of extra javac options
javac.compilerargs=
javac.deprecation=false
javac.external.vm=true
javac.processorpath=\
${javac.classpath}
javac.source=1.8
javac.target=1.8
javac.test.classpath=\
${javac.classpath}:\
${build.classes.dir}
javac.test.processorpath=\
${javac.test.classpath}
javadoc.additionalparam=
javadoc.author=false
javadoc.encoding=${source.encoding}
javadoc.noindex=false
javadoc.nonavbar=false
javadoc.notree=false
javadoc.private=false
javadoc.splitindex=true
javadoc.use=true
javadoc.version=false
javadoc.windowtitle=
main.class=pkgabstract.Abstract
manifest.file=manifest.mf
meta.inf.dir=${src.dir}/META-INF
mkdist.disabled=false
platform.active=default_platform
run.classpath=\
${javac.classpath}:\
${build.classes.dir}
# Space-separated list of JVM arguments used when running the project.
# You may also define separate properties like run-sys-prop.name=value instead of -Dname=value.
# To set system properties for unit tests define test-sys-prop.name=value:
run.jvmargs=
run.test.classpath=\
${javac.test.classpath}:\
${build.test.classes.dir}
source.encoding=UTF-8
src.dir=src
test.src.dir=test
================================================
FILE: Code/Abstract/nbproject/project.xml
================================================
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://www.netbeans.org/ns/project/1">
<type>org.netbeans.modules.java.j2seproject</type>
<configuration>
<data xmlns="http://www.netbeans.org/ns/j2se-project/3">
<name>Abstract</name>
<source-roots>
<root id="src.dir"/>
</source-roots>
<test-roots>
<root id="test.src.dir"/>
</test-roots>
</data>
</configuration>
</project>
================================================
FILE: Code/Abstract/src/pkgabstract/Abstract.java
================================================
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package pkgabstract;
/**
*
* @author Khoirul Umam
*/
public class Abstract {
/**
* @param args the command line arguments
*/
public static void main(String[] args) {
// Human h = new Human(); <-- Illegal
Asian h = new Asian();
h.looks();
h.move("left");
h.dance("Gandrung");
h.sing();
}
}
================================================
FILE: Code/Abstract/src/pkgabstract/Asian.java
================================================
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package pkgabstract;
/**
*
* @author Khoirul Umam
*/
public class Asian extends Human implements Skill {
public void looks(){
System.out.println("I look like a Korean actor");
}
public void dance(String name){
System.out.println("I can perform the " + name + " dance");
}
public void sing(){
System.out.println("I sing nicely");
}
}
================================================
FILE: Code/Abstract/src/pkgabstract/Human.java
================================================
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package pkgabstract;
/**
*
* @author Khoirul Umam
*/
public abstract class Human {
public String name;
public char gender;
public abstract void looks();
public void move(String direction){
System.out.println("I move to " + direction);
}
}
================================================
FILE: Code/Abstract/src/pkgabstract/Skill.java
================================================
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package pkgabstract;
/**
*
* @author Khoirul Umam
*/
public interface Skill {
public void dance(String name);
public void sing();
}
================================================
FILE: Code/Adapter/build.xml
================================================
<?xml version="1.0" encoding="UTF-8"?>
<!-- You may freely edit this file. See commented blocks below for -->
<!-- some examples of how to customize the build. -->
<!-- (If you delete it and reopen the project it will be recreated.) -->
<!-- By default, only the Clean and Build commands use this build script. -->
<!-- Commands such as Run, Debug, and Test only use this build script if -->
<!-- the Compile on Save feature is turned off for the project. -->
<!-- You can turn off the Compile on Save (or Deploy on Save) setting -->
<!-- in the project's Project Properties dialog box.-->
<project name="Adapter" default="default" basedir=".">
<description>Builds, tests, and runs the project Adapter.</description>
<import file="nbproject/build-impl.xml"/>
<!--
There exist several targets which are by default empty and which can be
used for execution of your tasks. These targets are usually executed
before and after some main targets. They are:
-pre-init: called before initialization of project properties
-post-init: called after initialization of project properties
-pre-compile: called before javac compilation
-post-compile: called after javac compilation
-pre-compile-single: called before javac compilation of single file
-post-compile-single: called after javac compilation of single file
-pre-compile-test: called before javac compilation of JUnit tests
-post-compile-test: called after javac compilation of JUnit tests
-pre-compile-test-single: called before javac compilation of single JUnit test
-post-compile-test-single: called after javac compilation of single JUunit test
-pre-jar: called before JAR building
-post-jar: called after JAR building
-post-clean: called after cleaning build products
(Targets beginning with '-' are not intended to be called on their own.)
Example of inserting an obfuscator after compilation could look like this:
<target name="-post-compile">
<obfuscate>
<fileset dir="${build.classes.dir}"/>
</obfuscate>
</target>
For list of available properties check the imported
nbproject/build-impl.xml file.
Another way to customize the build is by overriding existing main targets.
The targets of interest are:
-init-macrodef-javac: defines macro for javac compilation
-init-macrodef-junit: defines macro for junit execution
-init-macrodef-debug: defines macro for class debugging
-init-macrodef-java: defines macro for class execution
-do-jar: JAR building
run: execution of project
-javadoc-build: Javadoc generation
test-report: JUnit report generation
An example of overriding the target for project execution could look like this:
<target name="run" depends="Adapter-impl.jar">
<exec dir="bin" executable="launcher.exe">
<arg file="${dist.jar}"/>
</exec>
</target>
Notice that the overridden target depends on the jar target and not only on
the compile target as the regular run target does. Again, for a list of available
properties which you can use, check the target you are overriding in the
nbproject/build-impl.xml file.
-->
</project>
================================================
FILE: Code/Adapter/manifest.mf
================================================
Manifest-Version: 1.0
X-COMMENT: Main-Class will be added automatically by build
================================================
FILE: Code/Adapter/nbproject/build-impl.xml
================================================
<?xml version="1.0" encoding="UTF-8"?>
<!--
*** GENERATED FROM project.xml - DO NOT EDIT ***
*** EDIT ../build.xml INSTEAD ***
For the purpose of easier reading the script
is divided into following sections:
- initialization
- compilation
- jar
- execution
- debugging
- javadoc
- test compilation
- test execution
- test debugging
- applet
- cleanup
-->
<project xmlns:j2seproject1="http://www.netbeans.org/ns/j2se-project/1" xmlns:j2seproject3="http://www.netbeans.org/ns/j2se-project/3" xmlns:jaxrpc="http://www.netbeans.org/ns/j2se-project/jax-rpc" basedir=".." default="default" name="Adapter-impl">
<fail message="Please build using Ant 1.8.0 or higher.">
<condition>
<not>
<antversion atleast="1.8.0"/>
</not>
</condition>
</fail>
<target depends="test,jar,javadoc" description="Build and test whole project." name="default"/>
<!--
======================
INITIALIZATION SECTION
======================
-->
<target name="-pre-init">
<!-- Empty placeholder for easier customization. -->
<!-- You can override this target in the ../build.xml file. -->
</target>
<target depends="-pre-init" name="-init-private">
<property file="nbproject/private/config.properties"/>
<property file="nbproject/private/configs/${config}.properties"/>
<property file="nbproject/private/private.properties"/>
</target>
<target depends="-pre-init,-init-private" name="-init-user">
<property file="${user.properties.file}"/>
<!-- The two properties below are usually overridden -->
<!-- by the active platform. Just a fallback. -->
<property name="default.javac.source" value="1.6"/>
<property name="default.javac.target" value="1.6"/>
</target>
<target depends="-pre-init,-init-private,-init-user" name="-init-project">
<property file="nbproject/configs/${config}.properties"/>
<property file="nbproject/project.properties"/>
</target>
<target depends="-pre-init,-init-private,-init-user,-init-project,-init-macrodef-property" name="-do-init">
<property name="platform.java" value="${java.home}/bin/java"/>
<available file="${manifest.file}" property="manifest.available"/>
<condition property="splashscreen.available">
<and>
<not>
<equals arg1="${application.splash}" arg2="" trim="true"/>
</not>
<available file="${application.splash}"/>
</and>
</condition>
<condition property="main.class.available">
<and>
<isset property="main.class"/>
<not>
<equals arg1="${main.class}" arg2="" trim="true"/>
</not>
</and>
</condition>
<condition property="profile.available">
<and>
<isset property="javac.profile"/>
<length length="0" string="${javac.profile}" when="greater"/>
<matches pattern="((1\.[89])|9)(\..*)?" string="${javac.source}"/>
</and>
</condition>
<condition property="do.archive">
<or>
<not>
<istrue value="${jar.archive.disabled}"/>
</not>
<istrue value="${not.archive.disabled}"/>
</or>
</condition>
<condition property="do.mkdist">
<and>
<isset property="do.archive"/>
<isset property="libs.CopyLibs.classpath"/>
<not>
<istrue value="${mkdist.disabled}"/>
</not>
</and>
</condition>
<condition property="do.archive+manifest.available">
<and>
<isset property="manifest.available"/>
<istrue value="${do.archive}"/>
</and>
</condition>
<condition property="do.archive+main.class.available">
<and>
<isset property="main.class.available"/>
<istrue value="${do.archive}"/>
</and>
</condition>
<condition property="do.archive+splashscreen.available">
<and>
<isset property="splashscreen.available"/>
<istrue value="${do.archive}"/>
</and>
</condition>
<condition property="do.archive+profile.available">
<and>
<isset property="profile.available"/>
<istrue value="${do.archive}"/>
</and>
</condition>
<condition property="have.tests">
<or>
<available file="${test.src.dir}"/>
</or>
</condition>
<condition property="have.sources">
<or>
<available file="${src.dir}"/>
</or>
</condition>
<condition property="netbeans.home+have.tests">
<and>
<isset property="netbeans.home"/>
<isset property="have.tests"/>
</and>
</condition>
<condition property="no.javadoc.preview">
<and>
<isset property="javadoc.preview"/>
<isfalse value="${javadoc.preview}"/>
</and>
</condition>
<property name="run.jvmargs" value=""/>
<property name="run.jvmargs.ide" value=""/>
<property name="javac.compilerargs" value=""/>
<property name="work.dir" value="${basedir}"/>
<condition property="no.deps">
<and>
<istrue value="${no.dependencies}"/>
</and>
</condition>
<property name="javac.debug" value="true"/>
<property name="javadoc.preview" value="true"/>
<property name="application.args" value=""/>
<property name="source.encoding" value="${file.encoding}"/>
<property name="runtime.encoding" value="${source.encoding}"/>
<property name="manifest.encoding" value="${source.encoding}"/>
<condition property="javadoc.encoding.used" value="${javadoc.encoding}">
<and>
<isset property="javadoc.encoding"/>
<not>
<equals arg1="${javadoc.encoding}" arg2=""/>
</not>
</and>
</condition>
<property name="javadoc.encoding.used" value="${source.encoding}"/>
<property name="includes" value="**"/>
<property name="excludes" value=""/>
<property name="do.depend" value="false"/>
<condition property="do.depend.true">
<istrue value="${do.depend}"/>
</condition>
<path id="endorsed.classpath.path" path="${endorsed.classpath}"/>
<condition else="" property="endorsed.classpath.cmd.line.arg" value="-Xbootclasspath/p:'${toString:endorsed.classpath.path}'">
<and>
<isset property="endorsed.classpath"/>
<not>
<equals arg1="${endorsed.classpath}" arg2="" trim="true"/>
</not>
</and>
</condition>
<condition else="" property="javac.profile.cmd.line.arg" value="-profile ${javac.profile}">
<isset property="profile.available"/>
</condition>
<condition else="false" property="jdkBug6558476">
<and>
<matches pattern="1\.[56]" string="${java.specification.version}"/>
<not>
<os family="unix"/>
</not>
</and>
</condition>
<condition else="false" property="javac.fork">
<or>
<istrue value="${jdkBug6558476}"/>
<istrue value="${javac.external.vm}"/>
</or>
</condition>
<property name="jar.index" value="false"/>
<property name="jar.index.metainf" value="${jar.index}"/>
<property name="copylibs.rebase" value="true"/>
<available file="${meta.inf.dir}/persistence.xml" property="has.persistence.xml"/>
<condition property="junit.available">
<or>
<available classname="org.junit.Test" classpath="${run.test.classpath}"/>
<available classname="junit.framework.Test" classpath="${run.test.classpath}"/>
</or>
</condition>
<condition property="testng.available">
<available classname="org.testng.annotations.Test" classpath="${run.test.classpath}"/>
</condition>
<condition property="junit+testng.available">
<and>
<istrue value="${junit.available}"/>
<istrue value="${testng.available}"/>
</and>
</condition>
<condition else="testng" property="testng.mode" value="mixed">
<istrue value="${junit+testng.available}"/>
</condition>
<condition else="" property="testng.debug.mode" value="-mixed">
<istrue value="${junit+testng.available}"/>
</condition>
<property name="java.failonerror" value="true"/>
</target>
<target name="-post-init">
<!-- Empty placeholder for easier customization. -->
<!-- You can override this target in the ../build.xml file. -->
</target>
<target depends="-pre-init,-init-private,-init-user,-init-project,-do-init" name="-init-check">
<fail unless="src.dir">Must set src.dir</fail>
<fail unless="test.src.dir">Must set test.src.dir</fail>
<fail unless="build.dir">Must set build.dir</fail>
<fail unless="dist.dir">Must set dist.dir</fail>
<fail unless="build.classes.dir">Must set build.classes.dir</fail>
<fail unless="dist.javadoc.dir">Must set dist.javadoc.dir</fail>
<fail unless="build.test.classes.dir">Must set build.test.classes.dir</fail>
<fail unless="build.test.results.dir">Must set build.test.results.dir</fail>
<fail unless="build.classes.excludes">Must set build.classes.excludes</fail>
<fail unless="dist.jar">Must set dist.jar</fail>
</target>
<target name="-init-macrodef-property">
<macrodef name="property" uri="http://www.netbeans.org/ns/j2se-project/1">
<attribute name="name"/>
<attribute name="value"/>
<sequential>
<property name="@{name}" value="${@{value}}"/>
</sequential>
</macrodef>
</target>
<target depends="-init-ap-cmdline-properties" if="ap.supported.internal" name="-init-macrodef-javac-with-processors">
<macrodef name="javac" uri="http://www.netbeans.org/ns/j2se-project/3">
<attribute default="${src.dir}" name="srcdir"/>
<attribute default="${build.classes.dir}" name="destdir"/>
<attribute default="${javac.classpath}" name="classpath"/>
<attribute default="${javac.processorpath}" name="processorpath"/>
<attribute default="${build.generated.sources.dir}/ap-source-output" name="apgeneratedsrcdir"/>
<attribute default="${includes}" name="includes"/>
<attribute default="${excludes}" name="excludes"/>
<attribute default="${javac.debug}" name="debug"/>
<attribute default="${empty.dir}" name="sourcepath"/>
<attribute default="${empty.dir}" name="gensrcdir"/>
<element name="customize" optional="true"/>
<sequential>
<property location="${build.dir}/empty" name="empty.dir"/>
<mkdir dir="${empty.dir}"/>
<mkdir dir="@{apgeneratedsrcdir}"/>
<javac debug="@{debug}" deprecation="${javac.deprecation}" destdir="@{destdir}" encoding="${source.encoding}" excludes="@{excludes}" fork="${javac.fork}" includeantruntime="false" includes="@{includes}" source="${javac.source}" sourcepath="@{sourcepath}" srcdir="@{srcdir}" target="${javac.target}" tempdir="${java.io.tmpdir}">
<src>
<dirset dir="@{gensrcdir}" erroronmissingdir="false">
<include name="*"/>
</dirset>
</src>
<classpath>
<path path="@{classpath}"/>
</classpath>
<compilerarg line="${endorsed.classpath.cmd.line.arg}"/>
<compilerarg line="${javac.profile.cmd.line.arg}"/>
<compilerarg line="${javac.compilerargs}"/>
<compilerarg value="-processorpath"/>
<compilerarg path="@{processorpath}:${empty.dir}"/>
<compilerarg line="${ap.processors.internal}"/>
<compilerarg line="${annotation.processing.processor.options}"/>
<compilerarg value="-s"/>
<compilerarg path="@{apgeneratedsrcdir}"/>
<compilerarg line="${ap.proc.none.internal}"/>
<customize/>
</javac>
</sequential>
</macrodef>
</target>
<target depends="-init-ap-cmdline-properties" name="-init-macrodef-javac-without-processors" unless="ap.supported.internal">
<macrodef name="javac" uri="http://www.netbeans.org/ns/j2se-project/3">
<attribute default="${src.dir}" name="srcdir"/>
<attribute default="${build.classes.dir}" name="destdir"/>
<attribute default="${javac.classpath}" name="classpath"/>
<attribute default="${javac.processorpath}" name="processorpath"/>
<attribute default="${build.generated.sources.dir}/ap-source-output" name="apgeneratedsrcdir"/>
<attribute default="${includes}" name="includes"/>
<attribute default="${excludes}" name="excludes"/>
<attribute default="${javac.debug}" name="debug"/>
<attribute default="${empty.dir}" name="sourcepath"/>
<attribute default="${empty.dir}" name="gensrcdir"/>
<element name="customize" optional="true"/>
<sequential>
<property location="${build.dir}/empty" name="empty.dir"/>
<mkdir dir="${empty.dir}"/>
<javac debug="@{debug}" deprecation="${javac.deprecation}" destdir="@{destdir}" encoding="${source.encoding}" excludes="@{excludes}" fork="${javac.fork}" includeantruntime="false" includes="@{includes}" source="${javac.source}" sourcepath="@{sourcepath}" srcdir="@{srcdir}" target="${javac.target}" tempdir="${java.io.tmpdir}">
<src>
<dirset dir="@{gensrcdir}" erroronmissingdir="false">
<include name="*"/>
</dirset>
</src>
<classpath>
<path path="@{classpath}"/>
</classpath>
<compilerarg line="${endorsed.classpath.cmd.line.arg}"/>
<compilerarg line="${javac.profile.cmd.line.arg}"/>
<compilerarg line="${javac.compilerargs}"/>
<customize/>
</javac>
</sequential>
</macrodef>
</target>
<target depends="-init-macrodef-javac-with-processors,-init-macrodef-javac-without-processors" name="-init-macrodef-javac">
<macrodef name="depend" uri="http://www.netbeans.org/ns/j2se-project/3">
<attribute default="${src.dir}" name="srcdir"/>
<attribute default="${build.classes.dir}" name="destdir"/>
<attribute default="${javac.classpath}" name="classpath"/>
<sequential>
<depend cache="${build.dir}/depcache" destdir="@{destdir}" excludes="${excludes}" includes="${includes}" srcdir="@{srcdir}">
<classpath>
<path path="@{classpath}"/>
</classpath>
</depend>
</sequential>
</macrodef>
<macrodef name="force-recompile" uri="http://www.netbeans.org/ns/j2se-project/3">
<attribute default="${build.classes.dir}" name="destdir"/>
<sequential>
<fail unless="javac.includes">Must set javac.includes</fail>
<pathconvert pathsep="${line.separator}" property="javac.includes.binary">
<path>
<filelist dir="@{destdir}" files="${javac.includes}"/>
</path>
<globmapper from="*.java" to="*.class"/>
</pathconvert>
<tempfile deleteonexit="true" property="javac.includesfile.binary"/>
<echo file="${javac.includesfile.binary}" message="${javac.includes.binary}"/>
<delete>
<files includesfile="${javac.includesfile.binary}"/>
</delete>
<delete>
<fileset file="${javac.includesfile.binary}"/>
</delete>
</sequential>
</macrodef>
</target>
<target if="${junit.available}" name="-init-macrodef-junit-init">
<condition else="false" property="nb.junit.batch" value="true">
<and>
<istrue value="${junit.available}"/>
<not>
<isset property="test.method"/>
</not>
</and>
</condition>
<condition else="false" property="nb.junit.single" value="true">
<and>
<istrue value="${junit.available}"/>
<isset property="test.method"/>
</and>
</condition>
</target>
<target name="-init-test-properties">
<property name="test.binaryincludes" value="<nothing>"/>
<property name="test.binarytestincludes" value=""/>
<property name="test.binaryexcludes" value=""/>
</target>
<target if="${nb.junit.single}" name="-init-macrodef-junit-single" unless="${nb.junit.batch}">
<macrodef name="junit" uri="http://www.netbeans.org/ns/j2se-project/3">
<attribute default="${includes}" name="includes"/>
<attribute default="${excludes}" name="excludes"/>
<attribute default="**" name="testincludes"/>
<attribute default="" name="testmethods"/>
<element name="customize" optional="true"/>
<sequential>
<property name="junit.forkmode" value="perTest"/>
<junit dir="${work.dir}" errorproperty="tests.failed" failureproperty="tests.failed" fork="true" forkmode="${junit.forkmode}" showoutput="true" tempdir="${build.dir}">
<test methods="@{testmethods}" name="@{testincludes}" todir="${build.test.results.dir}"/>
<syspropertyset>
<propertyref prefix="test-sys-prop."/>
<mapper from="test-sys-prop.*" to="*" type="glob"/>
</syspropertyset>
<formatter type="brief" usefile="false"/>
<formatter type="xml"/>
<jvmarg value="-ea"/>
<customize/>
</junit>
</sequential>
</macrodef>
</target>
<target depends="-init-test-properties" if="${nb.junit.batch}" name="-init-macrodef-junit-batch" unless="${nb.junit.single}">
<macrodef name="junit" uri="http://www.netbeans.org/ns/j2se-project/3">
<attribute default="${includes}" name="includes"/>
<attribute default="${excludes}" name="excludes"/>
<attribute default="**" name="testincludes"/>
<attribute default="" name="testmethods"/>
<element name="customize" optional="true"/>
<sequential>
<property name="junit.forkmode" value="perTest"/>
<junit dir="${work.dir}" errorproperty="tests.failed" failureproperty="tests.failed" fork="true" forkmode="${junit.forkmode}" showoutput="true" tempdir="${build.dir}">
<batchtest todir="${build.test.results.dir}">
<fileset dir="${test.src.dir}" excludes="@{excludes},${excludes}" includes="@{includes}">
<filename name="@{testincludes}"/>
</fileset>
<fileset dir="${build.test.classes.dir}" excludes="@{excludes},${excludes},${test.binaryexcludes}" includes="${test.binaryincludes}">
<filename name="${test.binarytestincludes}"/>
</fileset>
</batchtest>
<syspropertyset>
<propertyref prefix="test-sys-prop."/>
<mapper from="test-sys-prop.*" to="*" type="glob"/>
</syspropertyset>
<formatter type="brief" usefile="false"/>
<formatter type="xml"/>
<jvmarg value="-ea"/>
<customize/>
</junit>
</sequential>
</macrodef>
</target>
<target depends="-init-macrodef-junit-init,-init-macrodef-junit-single, -init-macrodef-junit-batch" if="${junit.available}" name="-init-macrodef-junit"/>
<target if="${testng.available}" name="-init-macrodef-testng">
<macrodef name="testng" uri="http://www.netbeans.org/ns/j2se-project/3">
<attribute default="${includes}" name="includes"/>
<attribute default="${excludes}" name="excludes"/>
<attribute default="**" name="testincludes"/>
<attribute default="" name="testmethods"/>
<element name="customize" optional="true"/>
<sequential>
<condition else="" property="testng.methods.arg" value="@{testincludes}.@{testmethods}">
<isset property="test.method"/>
</condition>
<union id="test.set">
<fileset dir="${test.src.dir}" excludes="@{excludes},**/*.xml,${excludes}" includes="@{includes}">
<filename name="@{testincludes}"/>
</fileset>
</union>
<taskdef classname="org.testng.TestNGAntTask" classpath="${run.test.classpath}" name="testng"/>
<testng classfilesetref="test.set" failureProperty="tests.failed" listeners="org.testng.reporters.VerboseReporter" methods="${testng.methods.arg}" mode="${testng.mode}" outputdir="${build.test.results.dir}" suitename="Adapter" testname="TestNG tests" workingDir="${work.dir}">
<xmlfileset dir="${build.test.classes.dir}" includes="@{testincludes}"/>
<propertyset>
<propertyref prefix="test-sys-prop."/>
<mapper from="test-sys-prop.*" to="*" type="glob"/>
</propertyset>
<customize/>
</testng>
</sequential>
</macrodef>
</target>
<target name="-init-macrodef-test-impl">
<macrodef name="test-impl" uri="http://www.netbeans.org/ns/j2se-project/3">
<attribute default="${includes}" name="includes"/>
<attribute default="${excludes}" name="excludes"/>
<attribute default="**" name="testincludes"/>
<attribute default="" name="testmethods"/>
<element implicit="true" name="customize" optional="true"/>
<sequential>
<echo>No tests executed.</echo>
</sequential>
</macrodef>
</target>
<target depends="-init-macrodef-junit" if="${junit.available}" name="-init-macrodef-junit-impl">
<macrodef name="test-impl" uri="http://www.netbeans.org/ns/j2se-project/3">
<attribute default="${includes}" name="includes"/>
<attribute default="${excludes}" name="excludes"/>
<attribute default="**" name="testincludes"/>
<attribute default="" name="testmethods"/>
<element implicit="true" name="customize" optional="true"/>
<sequential>
<j2seproject3:junit excludes="@{excludes}" includes="@{includes}" testincludes="@{testincludes}" testmethods="@{testmethods}">
<customize/>
</j2seproject3:junit>
</sequential>
</macrodef>
</target>
<target depends="-init-macrodef-testng" if="${testng.available}" name="-init-macrodef-testng-impl">
<macrodef name="test-impl" uri="http://www.netbeans.org/ns/j2se-project/3">
<attribute default="${includes}" name="includes"/>
<attribute default="${excludes}" name="excludes"/>
<attribute default="**" name="testincludes"/>
<attribute default="" name="testmethods"/>
<element implicit="true" name="customize" optional="true"/>
<sequential>
<j2seproject3:testng excludes="@{excludes}" includes="@{includes}" testincludes="@{testincludes}" testmethods="@{testmethods}">
<customize/>
</j2seproject3:testng>
</sequential>
</macrodef>
</target>
<target depends="-init-macrodef-test-impl,-init-macrodef-junit-impl,-init-macrodef-testng-impl" name="-init-macrodef-test">
<macrodef name="test" uri="http://www.netbeans.org/ns/j2se-project/3">
<attribute default="${includes}" name="includes"/>
<attribute default="${excludes}" name="excludes"/>
<attribute default="**" name="testincludes"/>
<attribute default="" name="testmethods"/>
<sequential>
<j2seproject3:test-impl excludes="@{excludes}" includes="@{includes}" testincludes="@{testincludes}" testmethods="@{testmethods}">
<customize>
<classpath>
<path path="${run.test.classpath}"/>
</classpath>
<jvmarg line="${endorsed.classpath.cmd.line.arg}"/>
<jvmarg line="${run.jvmargs}"/>
<jvmarg line="${run.jvmargs.ide}"/>
</customize>
</j2seproject3:test-impl>
</sequential>
</macrodef>
</target>
<target if="${junit.available}" name="-init-macrodef-junit-debug" unless="${nb.junit.batch}">
<macrodef name="junit-debug" uri="http://www.netbeans.org/ns/j2se-project/3">
<attribute default="${includes}" name="includes"/>
<attribute default="${excludes}" name="excludes"/>
<attribute default="**" name="testincludes"/>
<attribute default="" name="testmethods"/>
<element name="customize" optional="true"/>
<sequential>
<property name="junit.forkmode" value="perTest"/>
<junit dir="${work.dir}" errorproperty="tests.failed" failureproperty="tests.failed" fork="true" forkmode="${junit.forkmode}" showoutput="true" tempdir="${build.dir}">
<test methods="@{testmethods}" name="@{testincludes}" todir="${build.test.results.dir}"/>
<syspropertyset>
<propertyref prefix="test-sys-prop."/>
<mapper from="test-sys-prop.*" to="*" type="glob"/>
</syspropertyset>
<formatter type="brief" usefile="false"/>
<formatter type="xml"/>
<jvmarg value="-ea"/>
<jvmarg line="${debug-args-line}"/>
<jvmarg value="-Xrunjdwp:transport=${debug-transport},address=${jpda.address}"/>
<customize/>
</junit>
</sequential>
</macrodef>
</target>
<target depends="-init-test-properties" if="${nb.junit.batch}" name="-init-macrodef-junit-debug-batch">
<macrodef name="junit-debug" uri="http://www.netbeans.org/ns/j2se-project/3">
<attribute default="${includes}" name="includes"/>
<attribute default="${excludes}" name="excludes"/>
<attribute default="**" name="testincludes"/>
<attribute default="" name="testmethods"/>
<element name="customize" optional="true"/>
<sequential>
<property name="junit.forkmode" value="perTest"/>
<junit dir="${work.dir}" errorproperty="tests.failed" failureproperty="tests.failed" fork="true" forkmode="${junit.forkmode}" showoutput="true" tempdir="${build.dir}">
<batchtest todir="${build.test.results.dir}">
<fileset dir="${test.src.dir}" excludes="@{excludes},${excludes}" includes="@{includes}">
<filename name="@{testincludes}"/>
</fileset>
<fileset dir="${build.test.classes.dir}" excludes="@{excludes},${excludes},${test.binaryexcludes}" includes="${test.binaryincludes}">
<filename name="${test.binarytestincludes}"/>
</fileset>
</batchtest>
<syspropertyset>
<propertyref prefix="test-sys-prop."/>
<mapper from="test-sys-prop.*" to="*" type="glob"/>
</syspropertyset>
<formatter type="brief" usefile="false"/>
<formatter type="xml"/>
<jvmarg value="-ea"/>
<jvmarg line="${debug-args-line}"/>
<jvmarg value="-Xrunjdwp:transport=${debug-transport},address=${jpda.address}"/>
<customize/>
</junit>
</sequential>
</macrodef>
</target>
<target depends="-init-macrodef-junit-debug,-init-macrodef-junit-debug-batch" if="${junit.available}" name="-init-macrodef-junit-debug-impl">
<macrodef name="test-debug-impl" uri="http://www.netbeans.org/ns/j2se-project/3">
<attribute default="${includes}" name="includes"/>
<attribute default="${excludes}" name="excludes"/>
<attribute default="**" name="testincludes"/>
<attribute default="" name="testmethods"/>
<element implicit="true" name="customize" optional="true"/>
<sequential>
<j2seproject3:junit-debug excludes="@{excludes}" includes="@{includes}" testincludes="@{testincludes}" testmethods="@{testmethods}">
<customize/>
</j2seproject3:junit-debug>
</sequential>
</macrodef>
</target>
<target if="${testng.available}" name="-init-macrodef-testng-debug">
<macrodef name="testng-debug" uri="http://www.netbeans.org/ns/j2se-project/3">
<attribute default="${main.class}" name="testClass"/>
<attribute default="" name="testMethod"/>
<element name="customize2" optional="true"/>
<sequential>
<condition else="-testclass @{testClass}" property="test.class.or.method" value="-methods @{testClass}.@{testMethod}">
<isset property="test.method"/>
</condition>
<condition else="-suitename Adapter -testname @{testClass} ${test.class.or.method}" property="testng.cmd.args" value="@{testClass}">
<matches pattern=".*\.xml" string="@{testClass}"/>
</condition>
<delete dir="${build.test.results.dir}" quiet="true"/>
<mkdir dir="${build.test.results.dir}"/>
<j2seproject3:debug classname="org.testng.TestNG" classpath="${debug.test.classpath}">
<customize>
<customize2/>
<jvmarg value="-ea"/>
<arg line="${testng.debug.mode}"/>
<arg line="-d ${build.test.results.dir}"/>
<arg line="-listener org.testng.reporters.VerboseReporter"/>
<arg line="${testng.cmd.args}"/>
</customize>
</j2seproject3:debug>
</sequential>
</macrodef>
</target>
<target depends="-init-macrodef-testng-debug" if="${testng.available}" name="-init-macrodef-testng-debug-impl">
<macrodef name="testng-debug-impl" uri="http://www.netbeans.org/ns/j2se-project/3">
<attribute default="${main.class}" name="testClass"/>
<attribute default="" name="testMethod"/>
<element implicit="true" name="customize2" optional="true"/>
<sequential>
<j2seproject3:testng-debug testClass="@{testClass}" testMethod="@{testMethod}">
<customize2/>
</j2seproject3:testng-debug>
</sequential>
</macrodef>
</target>
<target depends="-init-macrodef-junit-debug-impl" if="${junit.available}" name="-init-macrodef-test-debug-junit">
<macrodef name="test-debug" uri="http://www.netbeans.org/ns/j2se-project/3">
<attribute default="${includes}" name="includes"/>
<attribute default="${excludes}" name="excludes"/>
<attribute default="**" name="testincludes"/>
<attribute default="" name="testmethods"/>
<attribute default="${main.class}" name="testClass"/>
<attribute default="" name="testMethod"/>
<sequential>
<j2seproject3:test-debug-impl excludes="@{excludes}" includes="@{includes}" testincludes="@{testincludes}" testmethods="@{testmethods}">
<customize>
<classpath>
<path path="${run.test.classpath}"/>
</classpath>
<jvmarg line="${endorsed.classpath.cmd.line.arg}"/>
<jvmarg line="${run.jvmargs}"/>
<jvmarg line="${run.jvmargs.ide}"/>
</customize>
</j2seproject3:test-debug-impl>
</sequential>
</macrodef>
</target>
<target depends="-init-macrodef-testng-debug-impl" if="${testng.available}" name="-init-macrodef-test-debug-testng">
<macrodef name="test-debug" uri="http://www.netbeans.org/ns/j2se-project/3">
<attribute default="${includes}" name="includes"/>
<attribute default="${excludes}" name="excludes"/>
<attribute default="**" name="testincludes"/>
<attribute default="" name="testmethods"/>
<attribute default="${main.class}" name="testClass"/>
<attribute default="" name="testMethod"/>
<sequential>
<j2seproject3:testng-debug-impl testClass="@{testClass}" testMethod="@{testMethod}">
<customize2>
<syspropertyset>
<propertyref prefix="test-sys-prop."/>
<mapper from="test-sys-prop.*" to="*" type="glob"/>
</syspropertyset>
</customize2>
</j2seproject3:testng-debug-impl>
</sequential>
</macrodef>
</target>
<target depends="-init-macrodef-test-debug-junit,-init-macrodef-test-debug-testng" name="-init-macrodef-test-debug"/>
<!--
pre NB7.2 profiling section; consider it deprecated
-->
<target depends="-profile-pre-init, init, -profile-post-init, -profile-init-macrodef-profile, -profile-init-check" if="profiler.info.jvmargs.agent" name="profile-init"/>
<target if="profiler.info.jvmargs.agent" name="-profile-pre-init">
<!-- Empty placeholder for easier customization. -->
<!-- You can override this target in the ../build.xml file. -->
</target>
<target if="profiler.info.jvmargs.agent" name="-profile-post-init">
<!-- Empty placeholder for easier customization. -->
<!-- You can override this target in the ../build.xml file. -->
</target>
<target if="profiler.info.jvmargs.agent" name="-profile-init-macrodef-profile">
<macrodef name="resolve">
<attribute name="name"/>
<attribute name="value"/>
<sequential>
<property name="@{name}" value="${env.@{value}}"/>
</sequential>
</macrodef>
<macrodef name="profile">
<attribute default="${main.class}" name="classname"/>
<element name="customize" optional="true"/>
<sequential>
<property environment="env"/>
<resolve name="profiler.current.path" value="${profiler.info.pathvar}"/>
<java classname="@{classname}" dir="${profiler.info.dir}" failonerror="${java.failonerror}" fork="true" jvm="${profiler.info.jvm}">
<jvmarg line="${endorsed.classpath.cmd.line.arg}"/>
<jvmarg value="${profiler.info.jvmargs.agent}"/>
<jvmarg line="${profiler.info.jvmargs}"/>
<env key="${profiler.info.pathvar}" path="${profiler.info.agentpath}:${profiler.current.path}"/>
<arg line="${application.args}"/>
<classpath>
<path path="${run.classpath}"/>
</classpath>
<syspropertyset>
<propertyref prefix="run-sys-prop."/>
<mapper from="run-sys-prop.*" to="*" type="glob"/>
</syspropertyset>
<customize/>
</java>
</sequential>
</macrodef>
</target>
<target depends="-profile-pre-init, init, -profile-post-init, -profile-init-macrodef-profile" if="profiler.info.jvmargs.agent" name="-profile-init-check">
<fail unless="profiler.info.jvm">Must set JVM to use for profiling in profiler.info.jvm</fail>
<fail unless="profiler.info.jvmargs.agent">Must set profiler agent JVM arguments in profiler.info.jvmargs.agent</fail>
</target>
<!--
end of pre NB7.2 profiling section
-->
<target depends="-init-debug-args" name="-init-macrodef-nbjpda">
<macrodef name="nbjpdastart" uri="http://www.netbeans.org/ns/j2se-project/1">
<attribute default="${main.class}" name="name"/>
<attribute default="${debug.classpath}" name="classpath"/>
<attribute default="" name="stopclassname"/>
<sequential>
<nbjpdastart addressproperty="jpda.address" name="@{name}" stopclassname="@{stopclassname}" transport="${debug-transport}">
<classpath>
<path path="@{classpath}"/>
</classpath>
</nbjpdastart>
</sequential>
</macrodef>
<macrodef name="nbjpdareload" uri="http://www.netbeans.org/ns/j2se-project/1">
<attribute default="${build.classes.dir}" name="dir"/>
<sequential>
<nbjpdareload>
<fileset dir="@{dir}" includes="${fix.classes}">
<include name="${fix.includes}*.class"/>
</fileset>
</nbjpdareload>
</sequential>
</macrodef>
</target>
<target name="-init-debug-args">
<property name="version-output" value="java version "${ant.java.version}"/>
<condition property="have-jdk-older-than-1.4">
<or>
<contains string="${version-output}" substring="java version "1.0"/>
<contains string="${version-output}" substring="java version "1.1"/>
<contains string="${version-output}" substring="java version "1.2"/>
<contains string="${version-output}" substring="java version "1.3"/>
</or>
</condition>
<condition else="-Xdebug" property="debug-args-line" value="-Xdebug -Xnoagent -Djava.compiler=none">
<istrue value="${have-jdk-older-than-1.4}"/>
</condition>
<condition else="dt_socket" property="debug-transport-by-os" value="dt_shmem">
<os family="windows"/>
</condition>
<condition else="${debug-transport-by-os}" property="debug-transport" value="${debug.transport}">
<isset property="debug.transport"/>
</condition>
</target>
<target depends="-init-debug-args" name="-init-macrodef-debug">
<macrodef name="debug" uri="http://www.netbeans.org/ns/j2se-project/3">
<attribute default="${main.class}" name="classname"/>
<attribute default="${debug.classpath}" name="classpath"/>
<element name="customize" optional="true"/>
<sequential>
<java classname="@{classname}" dir="${work.dir}" failonerror="${java.failonerror}" fork="true">
<jvmarg line="${endorsed.classpath.cmd.line.arg}"/>
<jvmarg line="${debug-args-line}"/>
<jvmarg value="-Xrunjdwp:transport=${debug-transport},address=${jpda.address}"/>
<jvmarg value="-Dfile.encoding=${runtime.encoding}"/>
<redirector errorencoding="${runtime.encoding}" inputencoding="${runtime.encoding}" outputencoding="${runtime.encoding}"/>
<jvmarg line="${run.jvmargs}"/>
<jvmarg line="${run.jvmargs.ide}"/>
<classpath>
<path path="@{classpath}"/>
</classpath>
<syspropertyset>
<propertyref prefix="run-sys-prop."/>
<mapper from="run-sys-prop.*" to="*" type="glob"/>
</syspropertyset>
<customize/>
</java>
</sequential>
</macrodef>
</target>
<target name="-init-macrodef-java">
<macrodef name="java" uri="http://www.netbeans.org/ns/j2se-project/1">
<attribute default="${main.class}" name="classname"/>
<attribute default="${run.classpath}" name="classpath"/>
<attribute default="jvm" name="jvm"/>
<element name="customize" optional="true"/>
<sequential>
<java classname="@{classname}" dir="${work.dir}" failonerror="${java.failonerror}" fork="true">
<jvmarg line="${endorsed.classpath.cmd.line.arg}"/>
<jvmarg value="-Dfile.encoding=${runtime.encoding}"/>
<redirector errorencoding="${runtime.encoding}" inputencoding="${runtime.encoding}" outputencoding="${runtime.encoding}"/>
<jvmarg line="${run.jvmargs}"/>
<jvmarg line="${run.jvmargs.ide}"/>
<classpath>
<path path="@{classpath}"/>
</classpath>
<syspropertyset>
<propertyref prefix="run-sys-prop."/>
<mapper from="run-sys-prop.*" to="*" type="glob"/>
</syspropertyset>
<customize/>
</java>
</sequential>
</macrodef>
</target>
<target name="-init-macrodef-copylibs">
<macrodef name="copylibs" uri="http://www.netbeans.org/ns/j2se-project/3">
<attribute default="${manifest.file}" name="manifest"/>
<element name="customize" optional="true"/>
<sequential>
<property location="${build.classes.dir}" name="build.classes.dir.resolved"/>
<pathconvert property="run.classpath.without.build.classes.dir">
<path path="${run.classpath}"/>
<map from="${build.classes.dir.resolved}" to=""/>
</pathconvert>
<pathconvert pathsep=" " property="jar.classpath">
<path path="${run.classpath.without.build.classes.dir}"/>
<chainedmapper>
<flattenmapper/>
<filtermapper>
<replacestring from=" " to="%20"/>
</filtermapper>
<globmapper from="*" to="lib/*"/>
</chainedmapper>
</pathconvert>
<taskdef classname="org.netbeans.modules.java.j2seproject.copylibstask.CopyLibs" classpath="${libs.CopyLibs.classpath}" name="copylibs"/>
<copylibs compress="${jar.compress}" excludeFromCopy="${copylibs.excludes}" index="${jar.index}" indexMetaInf="${jar.index.metainf}" jarfile="${dist.jar}" manifest="@{manifest}" manifestencoding="UTF-8" rebase="${copylibs.rebase}" runtimeclasspath="${run.classpath.without.build.classes.dir}">
<fileset dir="${build.classes.dir}" excludes="${dist.archive.excludes}"/>
<manifest>
<attribute name="Class-Path" value="${jar.classpath}"/>
gitextract_5y_q5xrd/
├── .gitattributes
├── .gitignore
├── Bagan Organisasi Materi.vsdx
├── Code/
│ ├── Abstract/
│ │ ├── UML.mdj
│ │ ├── build.xml
│ │ ├── manifest.mf
│ │ ├── nbproject/
│ │ │ ├── build-impl.xml
│ │ │ ├── genfiles.properties
│ │ │ ├── project.properties
│ │ │ └── project.xml
│ │ └── src/
│ │ └── pkgabstract/
│ │ ├── Abstract.java
│ │ ├── Asian.java
│ │ ├── Human.java
│ │ └── Skill.java
│ ├── Adapter/
│ │ ├── build.xml
│ │ ├── manifest.mf
│ │ ├── nbproject/
│ │ │ ├── build-impl.xml
│ │ │ ├── genfiles.properties
│ │ │ ├── project.properties
│ │ │ └── project.xml
│ │ └── src/
│ │ └── adapter/
│ │ ├── Adapter.java
│ │ ├── AdapterElektronik.java
│ │ ├── Gadget.java
│ │ ├── Handphone.java
│ │ ├── PenanakNasi.java
│ │ ├── PeralatanElektronik.java
│ │ └── Smartphone.java
│ ├── Choc-O-Holic/
│ │ ├── build.xml
│ │ ├── manifest.mf
│ │ ├── nbproject/
│ │ │ ├── build-impl.xml
│ │ │ ├── genfiles.properties
│ │ │ ├── project.properties
│ │ │ └── project.xml
│ │ └── src/
│ │ └── chocoholic/
│ │ ├── ChocOHolic.java
│ │ └── ChocolateBoiler.java
│ ├── Chocolate/
│ │ ├── build.xml
│ │ ├── manifest.mf
│ │ ├── nbproject/
│ │ │ ├── build-impl.xml
│ │ │ ├── genfiles.properties
│ │ │ ├── project.properties
│ │ │ └── project.xml
│ │ └── src/
│ │ └── chocolate/
│ │ ├── Chocolate.java
│ │ └── ChocolateBoiler.java
│ ├── Command/
│ │ ├── UML.mdj
│ │ ├── build.xml
│ │ ├── manifest.mf
│ │ ├── nbproject/
│ │ │ ├── build-impl.xml
│ │ │ ├── genfiles.properties
│ │ │ ├── project.properties
│ │ │ └── project.xml
│ │ └── src/
│ │ └── command/
│ │ ├── Client.java
│ │ ├── Command.java
│ │ ├── GarageDoor.java
│ │ ├── GarageDoorOpenCommand.java
│ │ ├── Light.java
│ │ ├── LightOnCommand.java
│ │ ├── SimpleRemoteControl.java
│ │ ├── Television.java
│ │ └── TelevisionPlayCommand.java
│ ├── Duck/
│ │ ├── MiniDuckSimulator/
│ │ │ ├── build.xml
│ │ │ ├── manifest.mf
│ │ │ ├── nbproject/
│ │ │ │ ├── build-impl.xml
│ │ │ │ ├── genfiles.properties
│ │ │ │ ├── project.properties
│ │ │ │ └── project.xml
│ │ │ └── src/
│ │ │ └── miniducksimulator/
│ │ │ ├── Duck.java
│ │ │ ├── FlyBehaviour.java
│ │ │ ├── FlyNoWay.java
│ │ │ ├── FlyRocketPowered.java
│ │ │ ├── FlyWithWings.java
│ │ │ ├── MallardDuck.java
│ │ │ ├── MiniDuckSimulator.java
│ │ │ ├── ModelDuck.java
│ │ │ ├── MuteQuack.java
│ │ │ ├── Quack.java
│ │ │ ├── QuackBehaviour.java
│ │ │ ├── Squeak.java
│ │ │ └── WoodenDuck.java
│ │ └── UML.mdj
│ ├── HomeTheater/
│ │ ├── build.xml
│ │ ├── manifest.mf
│ │ ├── nbproject/
│ │ │ ├── build-impl.xml
│ │ │ ├── genfiles.properties
│ │ │ ├── project.properties
│ │ │ └── project.xml
│ │ └── src/
│ │ └── hometheater/
│ │ ├── Amplifier.java
│ │ ├── DVDPlayer.java
│ │ ├── HomeTheater.java
│ │ ├── LampuRuangan.java
│ │ ├── Layar.java
│ │ ├── PopcornPopper.java
│ │ ├── Proyektor.java
│ │ ├── RemoteControl.java
│ │ └── Sound.java
│ ├── JualPermenKaret/
│ │ ├── build.xml
│ │ ├── manifest.mf
│ │ ├── nbproject/
│ │ │ ├── build-impl.xml
│ │ │ ├── genfiles.properties
│ │ │ ├── project.properties
│ │ │ └── project.xml
│ │ └── src/
│ │ └── jualpermenkaret/
│ │ ├── JualPermenKaret.java
│ │ ├── MesinPermenKaret.java
│ │ ├── State.java
│ │ ├── StateAdaKoin.java
│ │ ├── StatePermenKaretHabis.java
│ │ ├── StatePermenKaretTerjual.java
│ │ ├── StateTerjualDenganBonus.java
│ │ └── StateTidakAdaKoin.java
│ ├── Kingdom/
│ │ ├── Kingdom/
│ │ │ ├── build.xml
│ │ │ ├── manifest.mf
│ │ │ ├── nbproject/
│ │ │ │ ├── build-impl.xml
│ │ │ │ ├── genfiles.properties
│ │ │ │ ├── project.properties
│ │ │ │ └── project.xml
│ │ │ └── src/
│ │ │ └── kingdom/
│ │ │ ├── King.java
│ │ │ ├── KingdomCharacter.java
│ │ │ ├── KingdomSimulation.java
│ │ │ └── Knight.java
│ │ └── Kingdom.mdj
│ ├── PizzaFactory/
│ │ ├── UML.mdj
│ │ ├── build.xml
│ │ ├── manifest.mf
│ │ ├── nbproject/
│ │ │ ├── build-impl.xml
│ │ │ ├── genfiles.properties
│ │ │ ├── project.properties
│ │ │ └── project.xml
│ │ └── src/
│ │ └── pizzafactory/
│ │ ├── ChicagoPizzaStore.java
│ │ ├── ChicagoStyleCheesePizza.java
│ │ ├── ChicagoStyleClamPizza.java
│ │ ├── ChicagoStylePepperoniPizza.java
│ │ ├── ChicagoStyleVeggiePizza.java
│ │ ├── DependentPizzaStore.java
│ │ ├── NYPizzaStore.java
│ │ ├── NYStyleCheesePizza.java
│ │ ├── NYStyleClamPizza.java
│ │ ├── NYStylePepperoniPizza.java
│ │ ├── NYStyleVeggiePizza.java
│ │ ├── Pizza.java
│ │ ├── PizzaFactory.java
│ │ └── PizzaStore.java
│ ├── SalesElektronik/
│ │ ├── build.xml
│ │ ├── manifest.mf
│ │ ├── nbproject/
│ │ │ ├── build-impl.xml
│ │ │ ├── genfiles.properties
│ │ │ ├── project.properties
│ │ │ └── project.xml
│ │ └── src/
│ │ └── saleselektronik/
│ │ ├── Barang.java
│ │ ├── Iterator.java
│ │ ├── Sales.java
│ │ ├── SalesElektronik.java
│ │ ├── TokoA.java
│ │ ├── TokoAIterator.java
│ │ ├── TokoB.java
│ │ └── TokoBIterator.java
│ ├── TemplateWorker/
│ │ ├── build.xml
│ │ ├── manifest.mf
│ │ ├── nbproject/
│ │ │ ├── build-impl.xml
│ │ │ ├── genfiles.properties
│ │ │ ├── project.properties
│ │ │ └── project.xml
│ │ └── src/
│ │ └── templateworker/
│ │ ├── Dosen.java
│ │ ├── Pekerja.java
│ │ ├── PemadamKebakaran.java
│ │ ├── TemplateWorker.java
│ │ └── TukangPos.java
│ ├── WarungSedap/
│ │ ├── UML.mdj
│ │ ├── build.xml
│ │ ├── manifest.mf
│ │ ├── nbproject/
│ │ │ ├── build-impl.xml
│ │ │ ├── genfiles.properties
│ │ │ ├── project.properties
│ │ │ └── project.xml
│ │ └── src/
│ │ └── warungsedap/
│ │ ├── Bakso.java
│ │ ├── CekerAyam.java
│ │ ├── Lontong.java
│ │ ├── Makanan.java
│ │ ├── Pecel.java
│ │ ├── RempahRempah.java
│ │ └── WarungSedap.java
│ └── Weather-O-Rama/
│ ├── UML.mdj
│ ├── build.xml
│ ├── manifest.mf
│ ├── nbproject/
│ │ ├── build-impl.xml
│ │ ├── genfiles.properties
│ │ ├── project.properties
│ │ └── project.xml
│ └── src/
│ └── weather/
│ └── o/
│ └── rama/
│ ├── CurrentConditionsDisplay.java
│ ├── DisplayElement.java
│ ├── ForecastDisplay.java
│ ├── HeatIndexDisplay.java
│ ├── Observer.java
│ ├── StatisticsDisplay.java
│ ├── Subject.java
│ ├── WeatherData.java
│ └── WeatherORama.java
├── Dokumen/
│ └── Tugas 1 Design Pattern.docx
├── Kontrak Perkuliahan.docx
├── PPT/
│ ├── Design Pattern 1 - Pengantar Design Pattern.pptx
│ ├── Design Pattern 10 - Template Pattern.pptx
│ ├── Design Pattern 11 - Iterator Pattern.pptx
│ ├── Design Pattern 12 - State Pattern.pptx
│ ├── Design Pattern 2 - Review OOP dan Pemanfaatannya di Design Pattern.pptx
│ ├── Design Pattern 3 - Observer Pattern.pptx
│ ├── Design Pattern 4 - Decorator Pattern.pptx
│ ├── Design Pattern 5 - Factory Pattern.pptx
│ ├── Design Pattern 6 - SIngleton Pattern.pptx
│ ├── Design Pattern 7 - Command Pattern.pptx
│ ├── Design Pattern 8 - Adapter Pattern.pptx
│ └── Design Pattern 9 - Facade Pattern.pptx
├── PPT Tugas Presentasi/
│ ├── 1. Observer.pptx
│ ├── 10. Composite.pptx
│ ├── 2. Decorator.pptx
│ ├── 3. Factory.pptx
│ ├── 4. Singleton.pptx
│ ├── 5. Command.pptx
│ ├── 6. Adapter.pptx
│ ├── 8. Template.pptx
│ └── 9. Iterator.pptx
├── README.md
└── UTS dan UAS Ganjil 2017-2018/
├── TUGAS UAS DESIGN PATTERN.pptx
├── UAS.docx
└── UTS.docx
SYMBOL INDEX (373 symbols across 101 files)
FILE: Code/Abstract/src/pkgabstract/Abstract.java
class Abstract (line 12) | public class Abstract {
method main (line 18) | public static void main(String[] args) {
FILE: Code/Abstract/src/pkgabstract/Asian.java
class Asian (line 13) | public class Asian extends Human implements Skill {
method looks (line 14) | public void looks(){
method dance (line 18) | public void dance(String name){
method sing (line 22) | public void sing(){
FILE: Code/Abstract/src/pkgabstract/Human.java
class Human (line 13) | public abstract class Human {
method looks (line 17) | public abstract void looks();
method move (line 19) | public void move(String direction){
FILE: Code/Abstract/src/pkgabstract/Skill.java
type Skill (line 13) | public interface Skill {
method dance (line 14) | public void dance(String name);
method sing (line 15) | public void sing();
FILE: Code/Adapter/src/adapter/Adapter.java
class Adapter (line 12) | public class Adapter {
method main (line 17) | public static void main(String[] args) {
method useGadget (line 29) | static void useGadget(Gadget g){
FILE: Code/Adapter/src/adapter/AdapterElektronik.java
class AdapterElektronik (line 12) | public class AdapterElektronik implements Gadget{
method AdapterElektronik (line 15) | public AdapterElektronik(PeralatanElektronik e){
method turnOn (line 19) | @Override
method turnOff (line 24) | @Override
method play (line 29) | @Override
method apalah (line 34) | public void apalah(){
FILE: Code/Adapter/src/adapter/Gadget.java
type Gadget (line 12) | public interface Gadget {
method turnOn (line 13) | public void turnOn();
method play (line 14) | public void play();
method turnOff (line 15) | public void turnOff();
FILE: Code/Adapter/src/adapter/Handphone.java
class Handphone (line 12) | public class Handphone implements Gadget{
method turnOn (line 13) | @Override
method turnOff (line 18) | @Override
method play (line 23) | @Override
FILE: Code/Adapter/src/adapter/PenanakNasi.java
class PenanakNasi (line 12) | public class PenanakNasi implements PeralatanElektronik{
method hidupkan (line 13) | @Override
method matikan (line 19) | @Override
FILE: Code/Adapter/src/adapter/PeralatanElektronik.java
type PeralatanElektronik (line 12) | public interface PeralatanElektronik {
method hidupkan (line 13) | public void hidupkan();
method matikan (line 14) | public void matikan();
FILE: Code/Adapter/src/adapter/Smartphone.java
class Smartphone (line 12) | public class Smartphone implements Gadget {
method turnOn (line 13) | @Override
method turnOff (line 18) | @Override
method play (line 23) | @Override
FILE: Code/Choc-O-Holic/src/chocoholic/ChocOHolic.java
class ChocOHolic (line 12) | public class ChocOHolic {
method main (line 17) | public static void main(String[] args) {
FILE: Code/Choc-O-Holic/src/chocoholic/ChocolateBoiler.java
class ChocolateBoiler (line 12) | public class ChocolateBoiler {
method ChocolateBoiler (line 17) | private ChocolateBoiler() {
method getInstance (line 22) | public static ChocolateBoiler getInstance() {
method fill (line 29) | public void fill() {
method drain (line 37) | public void drain() {
method boil (line 44) | public void boil() {
method isEmpty (line 51) | public boolean isEmpty() {
method isBoiled (line 55) | public boolean isBoiled() {
FILE: Code/Chocolate/src/chocolate/Chocolate.java
class Chocolate (line 12) | public class Chocolate {
method main (line 17) | public static void main(String[] args) {
FILE: Code/Chocolate/src/chocolate/ChocolateBoiler.java
class ChocolateBoiler (line 12) | public class ChocolateBoiler {
method ChocolateBoiler (line 17) | private ChocolateBoiler() {
method getInstance (line 22) | public static ChocolateBoiler getInstance() {
method fill (line 33) | public void fill() {
method drain (line 41) | public void drain() {
method boil (line 48) | public void boil() {
method isEmpty (line 55) | public boolean isEmpty() {
method isBoiled (line 59) | public boolean isBoiled() {
FILE: Code/Command/src/command/Client.java
class Client (line 12) | public class Client {
method main (line 17) | public static void main(String[] args) {
FILE: Code/Command/src/command/Command.java
type Command (line 12) | public interface Command {
method execute (line 13) | public void execute();
FILE: Code/Command/src/command/GarageDoor.java
class GarageDoor (line 12) | public class GarageDoor {
method up (line 13) | public void up() {
method down (line 17) | public void down() {
method stop (line 21) | public void stop() {
method lightOn (line 25) | public void lightOn() {
method lightOff (line 29) | public void lightOff() {
FILE: Code/Command/src/command/GarageDoorOpenCommand.java
class GarageDoorOpenCommand (line 12) | public class GarageDoorOpenCommand implements Command {
method GarageDoorOpenCommand (line 15) | public GarageDoorOpenCommand(GarageDoor door) {
method execute (line 19) | public void execute(){
FILE: Code/Command/src/command/Light.java
class Light (line 12) | public class Light {
method on (line 13) | public void on() {
method off (line 17) | public void off() {
FILE: Code/Command/src/command/LightOnCommand.java
class LightOnCommand (line 12) | public class LightOnCommand implements Command {
method LightOnCommand (line 15) | public LightOnCommand(Light light) {
method execute (line 19) | public void execute() {
FILE: Code/Command/src/command/SimpleRemoteControl.java
class SimpleRemoteControl (line 12) | public class SimpleRemoteControl {
method setCommand (line 15) | public void setCommand(Command command) {
method buttonWasPressed (line 19) | public void buttonWasPressed() {
FILE: Code/Command/src/command/Television.java
class Television (line 12) | public class Television {
method play (line 13) | public void play() {
method stop (line 17) | public void stop() {
FILE: Code/Command/src/command/TelevisionPlayCommand.java
class TelevisionPlayCommand (line 12) | public class TelevisionPlayCommand implements Command {
method TelevisionPlayCommand (line 15) | public TelevisionPlayCommand(Television tv) {
method execute (line 19) | public void execute() {
FILE: Code/Duck/MiniDuckSimulator/src/miniducksimulator/Duck.java
class Duck (line 13) | public abstract class Duck {
method swim (line 17) | public void swim() {
method display (line 21) | public abstract void display();
method performQuack (line 23) | public void performQuack() {
method performFly (line 27) | public void performFly() {
method setQuackBehaviour (line 31) | public void setQuackBehaviour(QuackBehaviour quackBehaviour) {
method setFlyBehaviour (line 35) | public void setFlyBehaviour(FlyBehaviour flyBehaviour) {
FILE: Code/Duck/MiniDuckSimulator/src/miniducksimulator/FlyBehaviour.java
type FlyBehaviour (line 12) | public interface FlyBehaviour {
method fly (line 13) | public void fly();
FILE: Code/Duck/MiniDuckSimulator/src/miniducksimulator/FlyNoWay.java
class FlyNoWay (line 12) | public class FlyNoWay implements FlyBehaviour {
method fly (line 13) | public void fly() {
FILE: Code/Duck/MiniDuckSimulator/src/miniducksimulator/FlyRocketPowered.java
class FlyRocketPowered (line 12) | public class FlyRocketPowered implements FlyBehaviour {
method fly (line 13) | public void fly() {
FILE: Code/Duck/MiniDuckSimulator/src/miniducksimulator/FlyWithWings.java
class FlyWithWings (line 12) | public class FlyWithWings implements FlyBehaviour {
method fly (line 13) | public void fly() {
FILE: Code/Duck/MiniDuckSimulator/src/miniducksimulator/MallardDuck.java
class MallardDuck (line 13) | public class MallardDuck extends Duck {
method MallardDuck (line 14) | public MallardDuck() {
method display (line 19) | public void display() {
FILE: Code/Duck/MiniDuckSimulator/src/miniducksimulator/MiniDuckSimulator.java
class MiniDuckSimulator (line 12) | public class MiniDuckSimulator {
method main (line 18) | public static void main(String[] args) {
FILE: Code/Duck/MiniDuckSimulator/src/miniducksimulator/ModelDuck.java
class ModelDuck (line 12) | public class ModelDuck extends Duck {
method ModelDuck (line 13) | public ModelDuck() {
method display (line 18) | public void display() {
FILE: Code/Duck/MiniDuckSimulator/src/miniducksimulator/MuteQuack.java
class MuteQuack (line 12) | public class MuteQuack implements QuackBehaviour {
method quack (line 13) | public void quack() {
FILE: Code/Duck/MiniDuckSimulator/src/miniducksimulator/Quack.java
class Quack (line 12) | public class Quack implements QuackBehaviour {
method quack (line 13) | public void quack() {
FILE: Code/Duck/MiniDuckSimulator/src/miniducksimulator/QuackBehaviour.java
type QuackBehaviour (line 12) | public interface QuackBehaviour {
method quack (line 13) | public void quack();
FILE: Code/Duck/MiniDuckSimulator/src/miniducksimulator/Squeak.java
class Squeak (line 12) | public class Squeak implements QuackBehaviour {
method quack (line 13) | public void quack(){
FILE: Code/Duck/MiniDuckSimulator/src/miniducksimulator/WoodenDuck.java
class WoodenDuck (line 13) | public class WoodenDuck extends Duck {
method WoodenDuck (line 14) | public WoodenDuck() {
method display (line 19) | public void display() {
FILE: Code/HomeTheater/src/hometheater/Amplifier.java
class Amplifier (line 12) | public class Amplifier {
method setDvd (line 16) | public void setDvd(DVDPlayer dvd){
method setSoundDevice (line 20) | public void setSoundDevice(Sound sound){
method setStereoSound (line 24) | public void setStereoSound(){
method setSurroundSound (line 28) | public void setSurroundSound(){
method setVolume (line 33) | public void setVolume(int level){
method on (line 37) | public void on(){
method off (line 41) | public void off(){
FILE: Code/HomeTheater/src/hometheater/DVDPlayer.java
class DVDPlayer (line 12) | public class DVDPlayer {
method DVDPlayer (line 15) | public DVDPlayer(String movie){
method on (line 19) | public void on(){
method off (line 24) | public void off(){
method play (line 29) | public void play(){
method pause (line 34) | public void pause(){
method stop (line 39) | public void stop(){
method setSurroundAudio (line 44) | public void setSurroundAudio(){
FILE: Code/HomeTheater/src/hometheater/HomeTheater.java
class HomeTheater (line 12) | public class HomeTheater {
method main (line 17) | public static void main(String[] args) {
FILE: Code/HomeTheater/src/hometheater/LampuRuangan.java
class LampuRuangan (line 12) | public class LampuRuangan {
method hidup (line 13) | public void hidup(){
method padam (line 17) | public void padam(){
method redup (line 21) | public void redup(int level){
FILE: Code/HomeTheater/src/hometheater/Layar.java
class Layar (line 12) | public class Layar {
method gulung (line 13) | public void gulung(){
method buka (line 17) | public void buka(){
FILE: Code/HomeTheater/src/hometheater/PopcornPopper.java
class PopcornPopper (line 12) | public class PopcornPopper {
method on (line 13) | public void on(){
method off (line 17) | public void off(){
method pop (line 21) | public void pop(){
FILE: Code/HomeTheater/src/hometheater/Proyektor.java
class Proyektor (line 12) | public class Proyektor {
method Proyektor (line 15) | public Proyektor(DVDPlayer dvd){
method on (line 19) | public void on(){
method off (line 23) | public void off(){
method modeTV (line 27) | public void modeTV(){
method modeLayarLebar (line 31) | public void modeLayarLebar(){
FILE: Code/HomeTheater/src/hometheater/RemoteControl.java
class RemoteControl (line 12) | public class RemoteControl {
method RemoteControl (line 21) | public RemoteControl(Sound sound, Amplifier amplifier, DVDPlayer dvd, ...
method watchMovie (line 31) | public void watchMovie(){
method endMovie (line 55) | public void endMovie(){
FILE: Code/HomeTheater/src/hometheater/Sound.java
class Sound (line 12) | public class Sound {
method on (line 13) | public void on(){
method off (line 19) | public void off(){
method setVolume (line 24) | public void setVolume(int level){
method stereoMode (line 29) | public void stereoMode(){
method surroundMode (line 34) | public void surroundMode(){
FILE: Code/JualPermenKaret/src/jualpermenkaret/JualPermenKaret.java
class JualPermenKaret (line 12) | public class JualPermenKaret {
method main (line 17) | public static void main(String[] args) {
FILE: Code/JualPermenKaret/src/jualpermenkaret/MesinPermenKaret.java
class MesinPermenKaret (line 12) | public class MesinPermenKaret {
method MesinPermenKaret (line 22) | public MesinPermenKaret(int jumlahPermen){
method koinMasuk (line 37) | public void koinMasuk(){
method koinKeluar (line 41) | public void koinKeluar(){
method putarTuas (line 45) | public void putarTuas(){
method keluarkanPermen (line 50) | public void keluarkanPermen(int jumlah){
method isiUlang (line 56) | public void isiUlang(int jumlah){
method setState (line 60) | public void setState(State state){
method setSisaPermen (line 64) | public void setSisaPermen(int tambahan){
method getSisaPermen (line 68) | public int getSisaPermen(){
method getAdaKoinState (line 72) | public State getAdaKoinState(){
method getTidakAdaKoinState (line 76) | public State getTidakAdaKoinState(){
method getPermenKaretTerjualState (line 80) | public State getPermenKaretTerjualState(){
method getPermenKaretHabisState (line 84) | public State getPermenKaretHabisState(){
method getTerjualDenganBonusState (line 88) | public State getTerjualDenganBonusState(){
FILE: Code/JualPermenKaret/src/jualpermenkaret/State.java
type State (line 12) | public interface State {
method koinMasuk (line 13) | void koinMasuk();
method koinKeluar (line 14) | void koinKeluar();
method putarTuas (line 15) | void putarTuas();
method keluarkanPermen (line 16) | void keluarkanPermen();
method isiUlang (line 17) | void isiUlang(int jumlahPermen);
FILE: Code/JualPermenKaret/src/jualpermenkaret/StateAdaKoin.java
class StateAdaKoin (line 12) | public class StateAdaKoin implements State{
method StateAdaKoin (line 15) | public StateAdaKoin(MesinPermenKaret mesin){
method koinMasuk (line 19) | @Override
method koinKeluar (line 24) | @Override
method putarTuas (line 30) | @Override
method keluarkanPermen (line 36) | @Override
method isiUlang (line 41) | @Override
FILE: Code/JualPermenKaret/src/jualpermenkaret/StatePermenKaretHabis.java
class StatePermenKaretHabis (line 12) | public class StatePermenKaretHabis implements State{
method StatePermenKaretHabis (line 15) | public StatePermenKaretHabis(MesinPermenKaret mesin){
method koinMasuk (line 19) | @Override
method koinKeluar (line 24) | @Override
method putarTuas (line 29) | @Override
method keluarkanPermen (line 34) | @Override
method isiUlang (line 39) | @Override
FILE: Code/JualPermenKaret/src/jualpermenkaret/StatePermenKaretTerjual.java
class StatePermenKaretTerjual (line 12) | public class StatePermenKaretTerjual implements State{
method StatePermenKaretTerjual (line 15) | public StatePermenKaretTerjual(MesinPermenKaret mesin){
method koinMasuk (line 19) | @Override
method koinKeluar (line 24) | @Override
method putarTuas (line 29) | @Override
method keluarkanPermen (line 34) | @Override
method isiUlang (line 44) | @Override
FILE: Code/JualPermenKaret/src/jualpermenkaret/StateTerjualDenganBonus.java
class StateTerjualDenganBonus (line 12) | public class StateTerjualDenganBonus implements State{
method StateTerjualDenganBonus (line 15) | public StateTerjualDenganBonus(MesinPermenKaret mesin){
method koinMasuk (line 19) | @Override
method koinKeluar (line 23) | @Override
method putarTuas (line 27) | @Override
method keluarkanPermen (line 31) | @Override
method isiUlang (line 35) | @Override
FILE: Code/JualPermenKaret/src/jualpermenkaret/StateTidakAdaKoin.java
class StateTidakAdaKoin (line 12) | public class StateTidakAdaKoin implements State{
method StateTidakAdaKoin (line 15) | public StateTidakAdaKoin(MesinPermenKaret mesin){
method koinMasuk (line 19) | @Override
method koinKeluar (line 25) | @Override
method putarTuas (line 30) | @Override
method keluarkanPermen (line 35) | @Override
method isiUlang (line 40) | @Override
FILE: Code/Kingdom/Kingdom/src/kingdom/King.java
class King (line 12) | public class King extends KingdomCharacter {
method King (line 13) | public King() {
FILE: Code/Kingdom/Kingdom/src/kingdom/KingdomCharacter.java
class KingdomCharacter (line 12) | public class KingdomCharacter {
method fight (line 16) | public void fight(){
method defend (line 20) | public void defend() {
FILE: Code/Kingdom/Kingdom/src/kingdom/KingdomSimulation.java
class KingdomSimulation (line 12) | public class KingdomSimulation {
method main (line 13) | public static void main(String[] args) {
FILE: Code/Kingdom/Kingdom/src/kingdom/Knight.java
class Knight (line 12) | public class Knight extends KingdomCharacter {
method Knight (line 13) | public Knight() {
FILE: Code/PizzaFactory/src/pizzafactory/ChicagoPizzaStore.java
class ChicagoPizzaStore (line 3) | public class ChicagoPizzaStore extends PizzaStore {
method createPizza (line 5) | Pizza createPizza(String item) {
FILE: Code/PizzaFactory/src/pizzafactory/ChicagoStyleCheesePizza.java
class ChicagoStyleCheesePizza (line 3) | public class ChicagoStyleCheesePizza extends Pizza {
method ChicagoStyleCheesePizza (line 5) | public ChicagoStyleCheesePizza() {
method cut (line 13) | void cut() {
FILE: Code/PizzaFactory/src/pizzafactory/ChicagoStyleClamPizza.java
class ChicagoStyleClamPizza (line 3) | public class ChicagoStyleClamPizza extends Pizza {
method ChicagoStyleClamPizza (line 5) | public ChicagoStyleClamPizza() {
method cut (line 14) | void cut() {
FILE: Code/PizzaFactory/src/pizzafactory/ChicagoStylePepperoniPizza.java
class ChicagoStylePepperoniPizza (line 3) | public class ChicagoStylePepperoniPizza extends Pizza {
method ChicagoStylePepperoniPizza (line 5) | public ChicagoStylePepperoniPizza() {
method cut (line 17) | void cut() {
FILE: Code/PizzaFactory/src/pizzafactory/ChicagoStyleVeggiePizza.java
class ChicagoStyleVeggiePizza (line 3) | public class ChicagoStyleVeggiePizza extends Pizza {
method ChicagoStyleVeggiePizza (line 5) | public ChicagoStyleVeggiePizza() {
method cut (line 16) | void cut() {
FILE: Code/PizzaFactory/src/pizzafactory/DependentPizzaStore.java
class DependentPizzaStore (line 3) | public class DependentPizzaStore {
method createPizza (line 5) | public Pizza createPizza(String style, String type) {
FILE: Code/PizzaFactory/src/pizzafactory/NYPizzaStore.java
class NYPizzaStore (line 3) | public class NYPizzaStore extends PizzaStore {
method createPizza (line 5) | Pizza createPizza(String item) {
FILE: Code/PizzaFactory/src/pizzafactory/NYStyleCheesePizza.java
class NYStyleCheesePizza (line 3) | public class NYStyleCheesePizza extends Pizza {
method NYStyleCheesePizza (line 5) | public NYStyleCheesePizza() {
FILE: Code/PizzaFactory/src/pizzafactory/NYStyleClamPizza.java
class NYStyleClamPizza (line 3) | public class NYStyleClamPizza extends Pizza {
method NYStyleClamPizza (line 5) | public NYStyleClamPizza() {
FILE: Code/PizzaFactory/src/pizzafactory/NYStylePepperoniPizza.java
class NYStylePepperoniPizza (line 3) | public class NYStylePepperoniPizza extends Pizza {
method NYStylePepperoniPizza (line 5) | public NYStylePepperoniPizza() {
FILE: Code/PizzaFactory/src/pizzafactory/NYStyleVeggiePizza.java
class NYStyleVeggiePizza (line 3) | public class NYStyleVeggiePizza extends Pizza {
method NYStyleVeggiePizza (line 5) | public NYStyleVeggiePizza() {
FILE: Code/PizzaFactory/src/pizzafactory/Pizza.java
class Pizza (line 5) | public abstract class Pizza {
method prepare (line 11) | void prepare() {
method bake (line 22) | void bake() {
method cut (line 26) | void cut() {
method box (line 30) | void box() {
method getName (line 34) | public String getName() {
FILE: Code/PizzaFactory/src/pizzafactory/PizzaFactory.java
class PizzaFactory (line 12) | public class PizzaFactory {
method main (line 17) | public static void main(String[] args) {
FILE: Code/PizzaFactory/src/pizzafactory/PizzaStore.java
class PizzaStore (line 3) | public abstract class PizzaStore {
method createPizza (line 5) | abstract Pizza createPizza(String item);
method orderPizza (line 7) | public Pizza orderPizza(String type) {
FILE: Code/SalesElektronik/src/saleselektronik/Barang.java
class Barang (line 12) | public class Barang {
method Barang (line 17) | public Barang(String nama, String deskripsi, int harga){
method detailBarang (line 23) | public String detailBarang(){
FILE: Code/SalesElektronik/src/saleselektronik/Iterator.java
type Iterator (line 12) | public interface Iterator {
method hasNext (line 13) | boolean hasNext();
method next (line 14) | Object next();
method prev (line 15) | Object prev();
FILE: Code/SalesElektronik/src/saleselektronik/Sales.java
class Sales (line 12) | public class Sales {
method Sales (line 16) | public Sales(TokoA tokoA, TokoB tokoB){
method daftarBarang (line 21) | public void daftarBarang(){
method printDataBarang (line 36) | private void printDataBarang(Iterator iterator){
FILE: Code/SalesElektronik/src/saleselektronik/SalesElektronik.java
class SalesElektronik (line 12) | public class SalesElektronik {
method main (line 17) | public static void main(String[] args) {
FILE: Code/SalesElektronik/src/saleselektronik/TokoA.java
class TokoA (line 14) | public class TokoA {
method TokoA (line 17) | public TokoA(){
method tambahBarang (line 25) | public void tambahBarang(String nama, String deskripsi, int harga){
method createIterator (line 30) | public Iterator createIterator(){
FILE: Code/SalesElektronik/src/saleselektronik/TokoAIterator.java
class TokoAIterator (line 14) | public class TokoAIterator implements Iterator{
method TokoAIterator (line 18) | public TokoAIterator(ArrayList barang){
method hasNext (line 22) | @Override
method next (line 27) | @Override
method prev (line 35) | @Override
FILE: Code/SalesElektronik/src/saleselektronik/TokoB.java
class TokoB (line 12) | public class TokoB {
method TokoB (line 17) | public TokoB(){
method tambahBarang (line 25) | public void tambahBarang(String nama, String deskripsi, int harga){
method createIterator (line 37) | public Iterator createIterator(){
FILE: Code/SalesElektronik/src/saleselektronik/TokoBIterator.java
class TokoBIterator (line 12) | public class TokoBIterator implements Iterator{
method TokoBIterator (line 16) | public TokoBIterator(Barang[] barang){
method hasNext (line 20) | @Override
method next (line 25) | @Override
method prev (line 33) | @Override
FILE: Code/TemplateWorker/src/templateworker/Dosen.java
class Dosen (line 12) | public class Dosen extends Pekerja{
method Dosen (line 13) | public Dosen(){
method bekerja (line 17) | public void bekerja(){
FILE: Code/TemplateWorker/src/templateworker/Pekerja.java
class Pekerja (line 12) | public abstract class Pekerja {
method rutinitas (line 15) | public final void rutinitas(){
method bangunPagi (line 26) | public void bangunPagi(){
method sarapan (line 30) | public void sarapan(){
method bekerja (line 34) | public abstract void bekerja();
method istirahat (line 36) | public void istirahat(){
FILE: Code/TemplateWorker/src/templateworker/PemadamKebakaran.java
class PemadamKebakaran (line 12) | public class PemadamKebakaran extends Pekerja{
method PemadamKebakaran (line 13) | public PemadamKebakaran(){
method bekerja (line 17) | public void bekerja(){
FILE: Code/TemplateWorker/src/templateworker/TemplateWorker.java
class TemplateWorker (line 12) | public class TemplateWorker {
method main (line 17) | public static void main(String[] args) {
FILE: Code/TemplateWorker/src/templateworker/TukangPos.java
class TukangPos (line 12) | public class TukangPos extends Pekerja{
method TukangPos (line 13) | public TukangPos(){
method bekerja (line 17) | public void bekerja(){
FILE: Code/WarungSedap/src/warungsedap/Bakso.java
class Bakso (line 12) | public class Bakso extends Makanan {
method Bakso (line 13) | public Bakso() {
method harga (line 17) | public int harga() {
FILE: Code/WarungSedap/src/warungsedap/CekerAyam.java
class CekerAyam (line 12) | public class CekerAyam extends RempahRempah{
method CekerAyam (line 13) | public CekerAyam(Makanan makanan) {
method getDeskripsi (line 17) | public String getDeskripsi() {
method harga (line 21) | public int harga() {
FILE: Code/WarungSedap/src/warungsedap/Lontong.java
class Lontong (line 12) | public class Lontong extends RempahRempah {
method Lontong (line 13) | public Lontong(Makanan makanan) {
method getDeskripsi (line 17) | public String getDeskripsi() {
method harga (line 21) | public int harga() {
FILE: Code/WarungSedap/src/warungsedap/Makanan.java
class Makanan (line 12) | public abstract class Makanan {
method getDeskripsi (line 15) | public String getDeskripsi(){
method harga (line 19) | public abstract int harga();
FILE: Code/WarungSedap/src/warungsedap/Pecel.java
class Pecel (line 12) | public class Pecel extends Makanan{
method Pecel (line 13) | public Pecel() {
method harga (line 17) | public int harga(){
FILE: Code/WarungSedap/src/warungsedap/RempahRempah.java
class RempahRempah (line 12) | public abstract class RempahRempah extends Makanan {
method getDeskripsi (line 14) | public abstract String getDeskripsi();
FILE: Code/WarungSedap/src/warungsedap/WarungSedap.java
class WarungSedap (line 12) | public class WarungSedap {
method main (line 18) | public static void main(String[] args) {
FILE: Code/Weather-O-Rama/src/weather/o/rama/CurrentConditionsDisplay.java
class CurrentConditionsDisplay (line 12) | public class CurrentConditionsDisplay implements Observer, DisplayElement {
method CurrentConditionsDisplay (line 17) | public CurrentConditionsDisplay(Subject weatherData) {
method update (line 22) | public void update(float temperature, float humidity, float pressure) {
method display (line 28) | public void display() {
FILE: Code/Weather-O-Rama/src/weather/o/rama/DisplayElement.java
type DisplayElement (line 12) | public interface DisplayElement {
method display (line 13) | public void display();
FILE: Code/Weather-O-Rama/src/weather/o/rama/ForecastDisplay.java
class ForecastDisplay (line 12) | public class ForecastDisplay implements Observer, DisplayElement {
method ForecastDisplay (line 17) | public ForecastDisplay(WeatherData weatherData) {
method update (line 22) | public void update(float temp, float humidity, float pressure) {
method display (line 29) | public void display() {
FILE: Code/Weather-O-Rama/src/weather/o/rama/HeatIndexDisplay.java
class HeatIndexDisplay (line 12) | public class HeatIndexDisplay implements Observer, DisplayElement {
method HeatIndexDisplay (line 16) | public HeatIndexDisplay(WeatherData weatherData) {
method update (line 21) | public void update(float t, float rh, float pressure) {
method computeHeatIndex (line 26) | private float computeHeatIndex(float t, float rh) {
method display (line 39) | public void display() {
FILE: Code/Weather-O-Rama/src/weather/o/rama/Observer.java
type Observer (line 12) | public interface Observer {
method update (line 13) | public void update(float temp, float humidity, float pressure);
FILE: Code/Weather-O-Rama/src/weather/o/rama/StatisticsDisplay.java
class StatisticsDisplay (line 12) | public class StatisticsDisplay implements Observer, DisplayElement{
method StatisticsDisplay (line 19) | public StatisticsDisplay(WeatherData weatherData) {
method update (line 24) | public void update(float temp, float humidity, float pressure) {
method display (line 38) | public void display() {
FILE: Code/Weather-O-Rama/src/weather/o/rama/Subject.java
type Subject (line 12) | public interface Subject {
method registerObserver (line 13) | public void registerObserver(Observer o);
method removeObserver (line 14) | public void removeObserver(Observer o);
method notifyObservers (line 15) | public void notifyObservers();
FILE: Code/Weather-O-Rama/src/weather/o/rama/WeatherData.java
class WeatherData (line 15) | public class WeatherData implements Subject {
method WeatherData (line 21) | public WeatherData() {
method registerObserver (line 25) | @Override
method removeObserver (line 30) | @Override
method notifyObservers (line 39) | @Override
method measurementsChanged (line 47) | public void measurementsChanged() {
method setMeasurements (line 51) | public void setMeasurements(float temperature, float humidity, float p...
FILE: Code/Weather-O-Rama/src/weather/o/rama/WeatherORama.java
class WeatherORama (line 12) | public class WeatherORama {
method main (line 17) | public static void main(String[] args) {
Condensed preview — 222 files, each showing path, character count, and a content snippet. Download the .json file or copy for the full structured content (3,167K chars).
[
{
"path": ".gitattributes",
"chars": 378,
"preview": "# Auto detect text files and perform LF normalization\n* text=auto\n\n# Custom for Visual Studio\n*.cs diff=csharp\n\n# St"
},
{
"path": ".gitignore",
"chars": 1806,
"preview": "# Windows image file caches\nThumbs.db\nehthumbs.db\n\n# Folder config file\nDesktop.ini\n\n# Recycle Bin used on file shares\n$"
},
{
"path": "Code/Abstract/UML.mdj",
"chars": 59507,
"preview": "{\n\t\"_type\": \"Project\",\n\t\"_id\": \"AAAAAAFF+h6SjaM2Hec=\",\n\t\"name\": \"Untitled\",\n\t\"ownedElements\": [\n\t\t{\n\t\t\t\"_type\": \"UMLMode"
},
{
"path": "Code/Abstract/build.xml",
"chars": 3536,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!-- You may freely edit this file. See commented blocks below for -->\n<!-- some "
},
{
"path": "Code/Abstract/manifest.mf",
"chars": 82,
"preview": "Manifest-Version: 1.0\nX-COMMENT: Main-Class will be added automatically by build\n\n"
},
{
"path": "Code/Abstract/nbproject/build-impl.xml",
"chars": 78455,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!--\n*** GENERATED FROM project.xml - DO NOT EDIT ***\n*** EDIT ../build."
},
{
"path": "Code/Abstract/nbproject/genfiles.properties",
"chars": 467,
"preview": "build.xml.data.CRC32=b9f34745\nbuild.xml.script.CRC32=7e99ad47\nbuild.xml.stylesheet.CRC32=8064a381@1.80.1.48\n# This file "
},
{
"path": "Code/Abstract/nbproject/project.properties",
"chars": 2389,
"preview": "annotation.processing.enabled=true\nannotation.processing.enabled.in.editor=false\nannotation.processing.processor.options"
},
{
"path": "Code/Abstract/nbproject/project.xml",
"chars": 501,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<project xmlns=\"http://www.netbeans.org/ns/project/1\">\n <type>org.netbeans.mod"
},
{
"path": "Code/Abstract/src/pkgabstract/Abstract.java",
"chars": 577,
"preview": "/*\n * To change this license header, choose License Headers in Project Properties.\n * To change this template file, choo"
},
{
"path": "Code/Abstract/src/pkgabstract/Asian.java",
"chars": 581,
"preview": "/*\n * To change this license header, choose License Headers in Project Properties.\n * To change this template file, choo"
},
{
"path": "Code/Abstract/src/pkgabstract/Human.java",
"chars": 467,
"preview": "/*\n * To change this license header, choose License Headers in Project Properties.\n * To change this template file, choo"
},
{
"path": "Code/Abstract/src/pkgabstract/Skill.java",
"chars": 330,
"preview": "/*\n * To change this license header, choose License Headers in Project Properties.\n * To change this template file, choo"
},
{
"path": "Code/Adapter/build.xml",
"chars": 3533,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!-- You may freely edit this file. See commented blocks below for -->\n<!-- some "
},
{
"path": "Code/Adapter/manifest.mf",
"chars": 82,
"preview": "Manifest-Version: 1.0\nX-COMMENT: Main-Class will be added automatically by build\n\n"
},
{
"path": "Code/Adapter/nbproject/build-impl.xml",
"chars": 78450,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!--\n*** GENERATED FROM project.xml - DO NOT EDIT ***\n*** EDIT ../build."
},
{
"path": "Code/Adapter/nbproject/genfiles.properties",
"chars": 467,
"preview": "build.xml.data.CRC32=83e3ee6d\nbuild.xml.script.CRC32=38c29462\nbuild.xml.stylesheet.CRC32=8064a381@1.80.1.48\n# This file "
},
{
"path": "Code/Adapter/nbproject/project.properties",
"chars": 2383,
"preview": "annotation.processing.enabled=true\nannotation.processing.enabled.in.editor=false\nannotation.processing.processor.options"
},
{
"path": "Code/Adapter/nbproject/project.xml",
"chars": 500,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<project xmlns=\"http://www.netbeans.org/ns/project/1\">\n <type>org.netbeans.mod"
},
{
"path": "Code/Adapter/src/adapter/Adapter.java",
"chars": 805,
"preview": "/*\n * To change this license header, choose License Headers in Project Properties.\n * To change this template file, choo"
},
{
"path": "Code/Adapter/src/adapter/AdapterElektronik.java",
"chars": 655,
"preview": "/*\n * To change this license header, choose License Headers in Project Properties.\n * To change this template file, choo"
},
{
"path": "Code/Adapter/src/adapter/Gadget.java",
"chars": 335,
"preview": "/*\n * To change this license header, choose License Headers in Project Properties.\n * To change this template file, choo"
},
{
"path": "Code/Adapter/src/adapter/Handphone.java",
"chars": 659,
"preview": "/*\n * To change this license header, choose License Headers in Project Properties.\n * To change this template file, choo"
},
{
"path": "Code/Adapter/src/adapter/PenanakNasi.java",
"chars": 535,
"preview": "/*\n * To change this license header, choose License Headers in Project Properties.\n * To change this template file, choo"
},
{
"path": "Code/Adapter/src/adapter/PeralatanElektronik.java",
"chars": 326,
"preview": "/*\n * To change this license header, choose License Headers in Project Properties.\n * To change this template file, choo"
},
{
"path": "Code/Adapter/src/adapter/Smartphone.java",
"chars": 624,
"preview": "/*\n * To change this license header, choose License Headers in Project Properties.\n * To change this template file, choo"
},
{
"path": "Code/Choc-O-Holic/build.xml",
"chars": 3548,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!-- You may freely edit this file. See commented blocks below for -->\n<!-- some "
},
{
"path": "Code/Choc-O-Holic/manifest.mf",
"chars": 82,
"preview": "Manifest-Version: 1.0\nX-COMMENT: Main-Class will be added automatically by build\n\n"
},
{
"path": "Code/Choc-O-Holic/nbproject/build-impl.xml",
"chars": 78475,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!--\n*** GENERATED FROM project.xml - DO NOT EDIT ***\n*** EDIT ../build."
},
{
"path": "Code/Choc-O-Holic/nbproject/genfiles.properties",
"chars": 467,
"preview": "build.xml.data.CRC32=d9dd1b85\nbuild.xml.script.CRC32=d17f4314\nbuild.xml.stylesheet.CRC32=8064a381@1.80.1.48\n# This file "
},
{
"path": "Code/Choc-O-Holic/nbproject/project.properties",
"chars": 2394,
"preview": "annotation.processing.enabled=true\nannotation.processing.enabled.in.editor=false\nannotation.processing.processor.options"
},
{
"path": "Code/Choc-O-Holic/nbproject/project.xml",
"chars": 505,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<project xmlns=\"http://www.netbeans.org/ns/project/1\">\n <type>org.netbeans.mod"
},
{
"path": "Code/Choc-O-Holic/src/chocoholic/ChocOHolic.java",
"chars": 439,
"preview": "/*\n * To change this license header, choose License Headers in Project Properties.\n * To change this template file, choo"
},
{
"path": "Code/Choc-O-Holic/src/chocoholic/ChocolateBoiler.java",
"chars": 1280,
"preview": "/*\n * To change this license header, choose License Headers in Project Properties.\n * To change this template file, choo"
},
{
"path": "Code/Chocolate/build.xml",
"chars": 3539,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!-- You may freely edit this file. See commented blocks below for -->\n<!-- some "
},
{
"path": "Code/Chocolate/manifest.mf",
"chars": 82,
"preview": "Manifest-Version: 1.0\nX-COMMENT: Main-Class will be added automatically by build\n\n"
},
{
"path": "Code/Chocolate/nbproject/build-impl.xml",
"chars": 78460,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!--\n*** GENERATED FROM project.xml - DO NOT EDIT ***\n*** EDIT ../build."
},
{
"path": "Code/Chocolate/nbproject/genfiles.properties",
"chars": 467,
"preview": "build.xml.data.CRC32=f46f5106\nbuild.xml.script.CRC32=d9211207\nbuild.xml.stylesheet.CRC32=8064a381@1.80.1.48\n# This file "
},
{
"path": "Code/Chocolate/nbproject/project.properties",
"chars": 2389,
"preview": "annotation.processing.enabled=true\nannotation.processing.enabled.in.editor=false\nannotation.processing.processor.options"
},
{
"path": "Code/Chocolate/nbproject/project.xml",
"chars": 502,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<project xmlns=\"http://www.netbeans.org/ns/project/1\">\n <type>org.netbeans.mod"
},
{
"path": "Code/Chocolate/src/chocolate/Chocolate.java",
"chars": 631,
"preview": "/*\n * To change this license header, choose License Headers in Project Properties.\n * To change this template file, choo"
},
{
"path": "Code/Chocolate/src/chocolate/ChocolateBoiler.java",
"chars": 1455,
"preview": "/*\n * To change this license header, choose License Headers in Project Properties.\n * To change this template file, choo"
},
{
"path": "Code/Command/UML.mdj",
"chars": 314981,
"preview": "{\n\t\"_type\": \"Project\",\n\t\"_id\": \"AAAAAAFF+h6SjaM2Hec=\",\n\t\"name\": \"Untitled\",\n\t\"ownedElements\": [\n\t\t{\n\t\t\t\"_type\": \"UMLMode"
},
{
"path": "Code/Command/build.xml",
"chars": 3533,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!-- You may freely edit this file. See commented blocks below for -->\n<!-- some "
},
{
"path": "Code/Command/manifest.mf",
"chars": 82,
"preview": "Manifest-Version: 1.0\nX-COMMENT: Main-Class will be added automatically by build\n\n"
},
{
"path": "Code/Command/nbproject/build-impl.xml",
"chars": 78450,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!--\n*** GENERATED FROM project.xml - DO NOT EDIT ***\n*** EDIT ../build."
},
{
"path": "Code/Command/nbproject/genfiles.properties",
"chars": 467,
"preview": "build.xml.data.CRC32=cfd3cb1c\nbuild.xml.script.CRC32=61ad8f1d\nbuild.xml.stylesheet.CRC32=8064a381@1.80.1.48\n# This file "
},
{
"path": "Code/Command/nbproject/project.properties",
"chars": 2382,
"preview": "annotation.processing.enabled=true\nannotation.processing.enabled.in.editor=false\nannotation.processing.processor.options"
},
{
"path": "Code/Command/nbproject/project.xml",
"chars": 500,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<project xmlns=\"http://www.netbeans.org/ns/project/1\">\n <type>org.netbeans.mod"
},
{
"path": "Code/Command/src/command/Client.java",
"chars": 1142,
"preview": "/*\n * To change this license header, choose License Headers in Project Properties.\n * To change this template file, choo"
},
{
"path": "Code/Command/src/command/Command.java",
"chars": 294,
"preview": "/*\n * To change this license header, choose License Headers in Project Properties.\n * To change this template file, choo"
},
{
"path": "Code/Command/src/command/GarageDoor.java",
"chars": 719,
"preview": "/*\n * To change this license header, choose License Headers in Project Properties.\n * To change this template file, choo"
},
{
"path": "Code/Command/src/command/GarageDoorOpenCommand.java",
"chars": 463,
"preview": "/*\n * To change this license header, choose License Headers in Project Properties.\n * To change this template file, choo"
},
{
"path": "Code/Command/src/command/Light.java",
"chars": 412,
"preview": "/*\n * To change this license header, choose License Headers in Project Properties.\n * To change this template file, choo"
},
{
"path": "Code/Command/src/command/LightOnCommand.java",
"chars": 445,
"preview": "/*\n * To change this license header, choose License Headers in Project Properties.\n * To change this template file, choo"
},
{
"path": "Code/Command/src/command/SimpleRemoteControl.java",
"chars": 446,
"preview": "/*\n * To change this license header, choose License Headers in Project Properties.\n * To change this template file, choo"
},
{
"path": "Code/Command/src/command/Television.java",
"chars": 458,
"preview": "/*\n * To change this license header, choose License Headers in Project Properties.\n * To change this template file, choo"
},
{
"path": "Code/Command/src/command/TelevisionPlayCommand.java",
"chars": 456,
"preview": "/*\n * To change this license header, choose License Headers in Project Properties.\n * To change this template file, choo"
},
{
"path": "Code/Duck/MiniDuckSimulator/build.xml",
"chars": 3563,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!-- You may freely edit this file. See commented blocks below for -->\n<!-- some "
},
{
"path": "Code/Duck/MiniDuckSimulator/manifest.mf",
"chars": 82,
"preview": "Manifest-Version: 1.0\nX-COMMENT: Main-Class will be added automatically by build\n\n"
},
{
"path": "Code/Duck/MiniDuckSimulator/nbproject/build-impl.xml",
"chars": 78500,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!--\n*** GENERATED FROM project.xml - DO NOT EDIT ***\n*** EDIT ../build."
},
{
"path": "Code/Duck/MiniDuckSimulator/nbproject/genfiles.properties",
"chars": 467,
"preview": "build.xml.data.CRC32=5e9b44b5\nbuild.xml.script.CRC32=1b120e29\nbuild.xml.stylesheet.CRC32=8064a381@1.80.1.48\n# This file "
},
{
"path": "Code/Duck/MiniDuckSimulator/nbproject/project.properties",
"chars": 2413,
"preview": "annotation.processing.enabled=true\nannotation.processing.enabled.in.editor=false\nannotation.processing.processor.options"
},
{
"path": "Code/Duck/MiniDuckSimulator/nbproject/project.xml",
"chars": 510,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<project xmlns=\"http://www.netbeans.org/ns/project/1\">\n <type>org.netbeans.mod"
},
{
"path": "Code/Duck/MiniDuckSimulator/src/miniducksimulator/Duck.java",
"chars": 868,
"preview": "/*\n * To change this license header, choose License Headers in Project Properties.\n * To change this template file, choo"
},
{
"path": "Code/Duck/MiniDuckSimulator/src/miniducksimulator/FlyBehaviour.java",
"chars": 305,
"preview": "/*\n * To change this license header, choose License Headers in Project Properties.\n * To change this template file, choo"
},
{
"path": "Code/Duck/MiniDuckSimulator/src/miniducksimulator/FlyNoWay.java",
"chars": 370,
"preview": "/*\n * To change this license header, choose License Headers in Project Properties.\n * To change this template file, choo"
},
{
"path": "Code/Duck/MiniDuckSimulator/src/miniducksimulator/FlyRocketPowered.java",
"chars": 393,
"preview": "/*\n * To change this license header, choose License Headers in Project Properties.\n * To change this template file, choo"
},
{
"path": "Code/Duck/MiniDuckSimulator/src/miniducksimulator/FlyWithWings.java",
"chars": 376,
"preview": "/*\n * To change this license header, choose License Headers in Project Properties.\n * To change this template file, choo"
},
{
"path": "Code/Duck/MiniDuckSimulator/src/miniducksimulator/MallardDuck.java",
"chars": 499,
"preview": "/*\n * To change this license header, choose License Headers in Project Properties.\n * To change this template file, choo"
},
{
"path": "Code/Duck/MiniDuckSimulator/src/miniducksimulator/MiniDuckSimulator.java",
"chars": 795,
"preview": "/*\n * To change this license header, choose License Headers in Project Properties.\n * To change this template file, choo"
},
{
"path": "Code/Duck/MiniDuckSimulator/src/miniducksimulator/ModelDuck.java",
"chars": 483,
"preview": "/*\n * To change this license header, choose License Headers in Project Properties.\n * To change this template file, choo"
},
{
"path": "Code/Duck/MiniDuckSimulator/src/miniducksimulator/MuteQuack.java",
"chars": 378,
"preview": "/*\n * To change this license header, choose License Headers in Project Properties.\n * To change this template file, choo"
},
{
"path": "Code/Duck/MiniDuckSimulator/src/miniducksimulator/Quack.java",
"chars": 366,
"preview": "/*\n * To change this license header, choose License Headers in Project Properties.\n * To change this template file, choo"
},
{
"path": "Code/Duck/MiniDuckSimulator/src/miniducksimulator/QuackBehaviour.java",
"chars": 309,
"preview": "/*\n * To change this license header, choose License Headers in Project Properties.\n * To change this template file, choo"
},
{
"path": "Code/Duck/MiniDuckSimulator/src/miniducksimulator/Squeak.java",
"chars": 367,
"preview": "/*\n * To change this license header, choose License Headers in Project Properties.\n * To change this template file, choo"
},
{
"path": "Code/Duck/MiniDuckSimulator/src/miniducksimulator/WoodenDuck.java",
"chars": 487,
"preview": "/*\n * To change this license header, choose License Headers in Project Properties.\n * To change this template file, choo"
},
{
"path": "Code/Duck/UML.mdj",
"chars": 220137,
"preview": "{\n\t\"_type\": \"Project\",\n\t\"_id\": \"AAAAAAFF+h6SjaM2Hec=\",\n\t\"name\": \"Untitled\",\n\t\"ownedElements\": [\n\t\t{\n\t\t\t\"_type\": \"UMLMode"
},
{
"path": "Code/HomeTheater/build.xml",
"chars": 3545,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!-- You may freely edit this file. See commented blocks below for -->\n<!-- some "
},
{
"path": "Code/HomeTheater/manifest.mf",
"chars": 82,
"preview": "Manifest-Version: 1.0\nX-COMMENT: Main-Class will be added automatically by build\n\n"
},
{
"path": "Code/HomeTheater/nbproject/build-impl.xml",
"chars": 78470,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!--\n*** GENERATED FROM project.xml - DO NOT EDIT ***\n*** EDIT ../build."
},
{
"path": "Code/HomeTheater/nbproject/genfiles.properties",
"chars": 467,
"preview": "build.xml.data.CRC32=a11f8012\nbuild.xml.script.CRC32=056443fd\nbuild.xml.stylesheet.CRC32=8064a381@1.80.1.48\n# This file "
},
{
"path": "Code/HomeTheater/nbproject/project.properties",
"chars": 2395,
"preview": "annotation.processing.enabled=true\nannotation.processing.enabled.in.editor=false\nannotation.processing.processor.options"
},
{
"path": "Code/HomeTheater/nbproject/project.xml",
"chars": 504,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<project xmlns=\"http://www.netbeans.org/ns/project/1\">\n <type>org.netbeans.mod"
},
{
"path": "Code/HomeTheater/src/hometheater/Amplifier.java",
"chars": 930,
"preview": "/*\n * To change this license header, choose License Headers in Project Properties.\n * To change this template file, choo"
},
{
"path": "Code/HomeTheater/src/hometheater/DVDPlayer.java",
"chars": 1154,
"preview": "/*\n * To change this license header, choose License Headers in Project Properties.\n * To change this template file, choo"
},
{
"path": "Code/HomeTheater/src/hometheater/HomeTheater.java",
"chars": 1069,
"preview": "/*\n * To change this license header, choose License Headers in Project Properties.\n * To change this template file, choo"
},
{
"path": "Code/HomeTheater/src/hometheater/LampuRuangan.java",
"chars": 584,
"preview": "/*\n * To change this license header, choose License Headers in Project Properties.\n * To change this template file, choo"
},
{
"path": "Code/HomeTheater/src/hometheater/Layar.java",
"chars": 437,
"preview": "/*\n * To change this license header, choose License Headers in Project Properties.\n * To change this template file, choo"
},
{
"path": "Code/HomeTheater/src/hometheater/PopcornPopper.java",
"chars": 605,
"preview": "/*\n * To change this license header, choose License Headers in Project Properties.\n * To change this template file, choo"
},
{
"path": "Code/HomeTheater/src/hometheater/Proyektor.java",
"chars": 839,
"preview": "/*\n * To change this license header, choose License Headers in Project Properties.\n * To change this template file, choo"
},
{
"path": "Code/HomeTheater/src/hometheater/RemoteControl.java",
"chars": 1596,
"preview": "/*\n * To change this license header, choose License Headers in Project Properties.\n * To change this template file, choo"
},
{
"path": "Code/HomeTheater/src/hometheater/Sound.java",
"chars": 965,
"preview": "/*\n * To change this license header, choose License Headers in Project Properties.\n * To change this template file, choo"
},
{
"path": "Code/JualPermenKaret/build.xml",
"chars": 3557,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!-- You may freely edit this file. See commented blocks below for -->\n<!-- some "
},
{
"path": "Code/JualPermenKaret/manifest.mf",
"chars": 82,
"preview": "Manifest-Version: 1.0\nX-COMMENT: Main-Class will be added automatically by build\n\n"
},
{
"path": "Code/JualPermenKaret/nbproject/build-impl.xml",
"chars": 78490,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!--\n*** GENERATED FROM project.xml - DO NOT EDIT ***\n*** EDIT ../build."
},
{
"path": "Code/JualPermenKaret/nbproject/genfiles.properties",
"chars": 467,
"preview": "build.xml.data.CRC32=dfcb39f8\nbuild.xml.script.CRC32=5a172e3a\nbuild.xml.stylesheet.CRC32=8064a381@1.80.1.48\n# This file "
},
{
"path": "Code/JualPermenKaret/nbproject/project.properties",
"chars": 2407,
"preview": "annotation.processing.enabled=true\nannotation.processing.enabled.in.editor=false\nannotation.processing.processor.options"
},
{
"path": "Code/JualPermenKaret/nbproject/project.xml",
"chars": 508,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<project xmlns=\"http://www.netbeans.org/ns/project/1\">\n <type>org.netbeans.mod"
},
{
"path": "Code/JualPermenKaret/src/jualpermenkaret/JualPermenKaret.java",
"chars": 736,
"preview": "/*\n * To change this license header, choose License Headers in Project Properties.\n * To change this template file, choo"
},
{
"path": "Code/JualPermenKaret/src/jualpermenkaret/MesinPermenKaret.java",
"chars": 2208,
"preview": "/*\n * To change this license header, choose License Headers in Project Properties.\n * To change this template file, choo"
},
{
"path": "Code/JualPermenKaret/src/jualpermenkaret/State.java",
"chars": 397,
"preview": "/*\n * To change this license header, choose License Headers in Project Properties.\n * To change this template file, choo"
},
{
"path": "Code/JualPermenKaret/src/jualpermenkaret/StateAdaKoin.java",
"chars": 1141,
"preview": "/*\n * To change this license header, choose License Headers in Project Properties.\n * To change this template file, choo"
},
{
"path": "Code/JualPermenKaret/src/jualpermenkaret/StatePermenKaretHabis.java",
"chars": 1183,
"preview": "/*\n * To change this license header, choose License Headers in Project Properties.\n * To change this template file, choo"
},
{
"path": "Code/JualPermenKaret/src/jualpermenkaret/StatePermenKaretTerjual.java",
"chars": 1253,
"preview": "/*\n * To change this license header, choose License Headers in Project Properties.\n * To change this template file, choo"
},
{
"path": "Code/JualPermenKaret/src/jualpermenkaret/StateTerjualDenganBonus.java",
"chars": 722,
"preview": "/*\n * To change this license header, choose License Headers in Project Properties.\n * To change this template file, choo"
},
{
"path": "Code/JualPermenKaret/src/jualpermenkaret/StateTidakAdaKoin.java",
"chars": 1053,
"preview": "/*\n * To change this license header, choose License Headers in Project Properties.\n * To change this template file, choo"
},
{
"path": "Code/Kingdom/Kingdom/build.xml",
"chars": 3533,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!-- You may freely edit this file. See commented blocks below for -->\n<!-- some "
},
{
"path": "Code/Kingdom/Kingdom/manifest.mf",
"chars": 82,
"preview": "Manifest-Version: 1.0\nX-COMMENT: Main-Class will be added automatically by build\n\n"
},
{
"path": "Code/Kingdom/Kingdom/nbproject/build-impl.xml",
"chars": 78450,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!--\n*** GENERATED FROM project.xml - DO NOT EDIT ***\n*** EDIT ../build."
},
{
"path": "Code/Kingdom/Kingdom/nbproject/genfiles.properties",
"chars": 467,
"preview": "build.xml.data.CRC32=b23da31a\nbuild.xml.script.CRC32=5470d9ea\nbuild.xml.stylesheet.CRC32=8064a381@1.80.1.48\n# This file "
},
{
"path": "Code/Kingdom/Kingdom/nbproject/project.properties",
"chars": 2393,
"preview": "annotation.processing.enabled=true\nannotation.processing.enabled.in.editor=false\nannotation.processing.processor.options"
},
{
"path": "Code/Kingdom/Kingdom/nbproject/project.xml",
"chars": 500,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<project xmlns=\"http://www.netbeans.org/ns/project/1\">\n <type>org.netbeans.mod"
},
{
"path": "Code/Kingdom/Kingdom/src/kingdom/King.java",
"chars": 358,
"preview": "/*\n * To change this license header, choose License Headers in Project Properties.\n * To change this template file, choo"
},
{
"path": "Code/Kingdom/Kingdom/src/kingdom/KingdomCharacter.java",
"chars": 579,
"preview": "/*\n * To change this license header, choose License Headers in Project Properties.\n * To change this template file, choo"
},
{
"path": "Code/Kingdom/Kingdom/src/kingdom/KingdomSimulation.java",
"chars": 454,
"preview": "/*\n * To change this license header, choose License Headers in Project Properties.\n * To change this template file, choo"
},
{
"path": "Code/Kingdom/Kingdom/src/kingdom/Knight.java",
"chars": 361,
"preview": "/*\n * To change this license header, choose License Headers in Project Properties.\n * To change this template file, choo"
},
{
"path": "Code/Kingdom/Kingdom.mdj",
"chars": 77820,
"preview": "{\n\t\"_type\": \"Project\",\n\t\"_id\": \"AAAAAAFF+h6SjaM2Hec=\",\n\t\"name\": \"Untitled\",\n\t\"ownedElements\": [\n\t\t{\n\t\t\t\"_type\": \"UMLMode"
},
{
"path": "Code/PizzaFactory/UML.mdj",
"chars": 155282,
"preview": "{\n\t\"_type\": \"Project\",\n\t\"_id\": \"AAAAAAFF+h6SjaM2Hec=\",\n\t\"name\": \"Untitled\",\n\t\"ownedElements\": [\n\t\t{\n\t\t\t\"_type\": \"UMLMode"
},
{
"path": "Code/PizzaFactory/build.xml",
"chars": 3548,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!-- You may freely edit this file. See commented blocks below for -->\n<!-- some "
},
{
"path": "Code/PizzaFactory/manifest.mf",
"chars": 82,
"preview": "Manifest-Version: 1.0\nX-COMMENT: Main-Class will be added automatically by build\n\n"
},
{
"path": "Code/PizzaFactory/nbproject/build-impl.xml",
"chars": 78475,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!--\n*** GENERATED FROM project.xml - DO NOT EDIT ***\n*** EDIT ../build."
},
{
"path": "Code/PizzaFactory/nbproject/genfiles.properties",
"chars": 467,
"preview": "build.xml.data.CRC32=cee8b8d3\nbuild.xml.script.CRC32=b74a49ac\nbuild.xml.stylesheet.CRC32=8064a381@1.80.1.48\n# This file "
},
{
"path": "Code/PizzaFactory/nbproject/project.properties",
"chars": 2398,
"preview": "annotation.processing.enabled=true\nannotation.processing.enabled.in.editor=false\nannotation.processing.processor.options"
},
{
"path": "Code/PizzaFactory/nbproject/project.xml",
"chars": 505,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<project xmlns=\"http://www.netbeans.org/ns/project/1\">\n <type>org.netbeans.mod"
},
{
"path": "Code/PizzaFactory/src/pizzafactory/ChicagoPizzaStore.java",
"chars": 506,
"preview": "package pizzafactory;\n\npublic class ChicagoPizzaStore extends PizzaStore {\n\n Pizza createPizza(String item) {\n "
},
{
"path": "Code/PizzaFactory/src/pizzafactory/ChicagoStyleCheesePizza.java",
"chars": 370,
"preview": "package pizzafactory;\n\npublic class ChicagoStyleCheesePizza extends Pizza {\n\n public ChicagoStyleCheesePizza() { \n\tna"
},
{
"path": "Code/PizzaFactory/src/pizzafactory/ChicagoStyleClamPizza.java",
"chars": 404,
"preview": "package pizzafactory;\n\npublic class ChicagoStyleClamPizza extends Pizza {\n\n public ChicagoStyleClamPizza() {\n\tname = "
},
{
"path": "Code/PizzaFactory/src/pizzafactory/ChicagoStylePepperoniPizza.java",
"chars": 486,
"preview": "package pizzafactory;\n\npublic class ChicagoStylePepperoniPizza extends Pizza {\n\n public ChicagoStylePepperoniPizza() "
},
{
"path": "Code/PizzaFactory/src/pizzafactory/ChicagoStyleVeggiePizza.java",
"chars": 462,
"preview": "package pizzafactory;\n\npublic class ChicagoStyleVeggiePizza extends Pizza {\n\n public ChicagoStyleVeggiePizza() {\n\tnam"
},
{
"path": "Code/PizzaFactory/src/pizzafactory/DependentPizzaStore.java",
"chars": 1145,
"preview": "package pizzafactory;\n\npublic class DependentPizzaStore {\n\n public Pizza createPizza(String style, String type) {\n\tPi"
},
{
"path": "Code/PizzaFactory/src/pizzafactory/NYPizzaStore.java",
"chars": 454,
"preview": "package pizzafactory;\n\npublic class NYPizzaStore extends PizzaStore {\n\n Pizza createPizza(String item) {\n\tif (item.eq"
},
{
"path": "Code/PizzaFactory/src/pizzafactory/NYStyleCheesePizza.java",
"chars": 260,
"preview": "package pizzafactory;\n\npublic class NYStyleCheesePizza extends Pizza {\n \n public NYStyleCheesePizza() { \n\tname = \""
},
{
"path": "Code/PizzaFactory/src/pizzafactory/NYStyleClamPizza.java",
"chars": 292,
"preview": "package pizzafactory;\n\npublic class NYStyleClamPizza extends Pizza {\n\n public NYStyleClamPizza() {\n\tname = \"NY Style "
},
{
"path": "Code/PizzaFactory/src/pizzafactory/NYStylePepperoniPizza.java",
"chars": 395,
"preview": "package pizzafactory;\n\npublic class NYStylePepperoniPizza extends Pizza {\n\n public NYStylePepperoniPizza() {\n\tname = "
},
{
"path": "Code/PizzaFactory/src/pizzafactory/NYStyleVeggiePizza.java",
"chars": 351,
"preview": "package pizzafactory;\n\npublic class NYStyleVeggiePizza extends Pizza {\n\n public NYStyleVeggiePizza() {\n\tname = \"NY St"
},
{
"path": "Code/PizzaFactory/src/pizzafactory/Pizza.java",
"chars": 791,
"preview": "package pizzafactory;\n\nimport java.util.ArrayList;\n\npublic abstract class Pizza {\n String name;\n String dough;\n "
},
{
"path": "Code/PizzaFactory/src/pizzafactory/PizzaFactory.java",
"chars": 1364,
"preview": "/*\n * To change this license header, choose License Headers in Project Properties.\n * To change this template file, choo"
},
{
"path": "Code/PizzaFactory/src/pizzafactory/PizzaStore.java",
"chars": 452,
"preview": "package pizzafactory;\n\npublic abstract class PizzaStore {\n \n abstract Pizza createPizza(String item);\n \n pub"
},
{
"path": "Code/SalesElektronik/build.xml",
"chars": 3557,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!-- You may freely edit this file. See commented blocks below for -->\n<!-- some "
},
{
"path": "Code/SalesElektronik/manifest.mf",
"chars": 82,
"preview": "Manifest-Version: 1.0\nX-COMMENT: Main-Class will be added automatically by build\n\n"
},
{
"path": "Code/SalesElektronik/nbproject/build-impl.xml",
"chars": 78490,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!--\n*** GENERATED FROM project.xml - DO NOT EDIT ***\n*** EDIT ../build."
},
{
"path": "Code/SalesElektronik/nbproject/genfiles.properties",
"chars": 467,
"preview": "build.xml.data.CRC32=d2cc875e\nbuild.xml.script.CRC32=2b37b553\nbuild.xml.stylesheet.CRC32=8064a381@1.80.1.48\n# This file "
},
{
"path": "Code/SalesElektronik/nbproject/project.properties",
"chars": 2407,
"preview": "annotation.processing.enabled=true\nannotation.processing.enabled.in.editor=false\nannotation.processing.processor.options"
},
{
"path": "Code/SalesElektronik/nbproject/project.xml",
"chars": 508,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<project xmlns=\"http://www.netbeans.org/ns/project/1\">\n <type>org.netbeans.mod"
},
{
"path": "Code/SalesElektronik/src/saleselektronik/Barang.java",
"chars": 612,
"preview": "/*\n * To change this license header, choose License Headers in Project Properties.\n * To change this template file, choo"
},
{
"path": "Code/SalesElektronik/src/saleselektronik/Iterator.java",
"chars": 329,
"preview": "/*\n * To change this license header, choose License Headers in Project Properties.\n * To change this template file, choo"
},
{
"path": "Code/SalesElektronik/src/saleselektronik/Sales.java",
"chars": 1188,
"preview": "/*\n * To change this license header, choose License Headers in Project Properties.\n * To change this template file, choo"
},
{
"path": "Code/SalesElektronik/src/saleselektronik/SalesElektronik.java",
"chars": 554,
"preview": "/*\n * To change this license header, choose License Headers in Project Properties.\n * To change this template file, choo"
},
{
"path": "Code/SalesElektronik/src/saleselektronik/TokoA.java",
"chars": 832,
"preview": "/*\n * To change this license header, choose License Headers in Project Properties.\n * To change this template file, choo"
},
{
"path": "Code/SalesElektronik/src/saleselektronik/TokoAIterator.java",
"chars": 790,
"preview": "/*\n * To change this license header, choose License Headers in Project Properties.\n * To change this template file, choo"
},
{
"path": "Code/SalesElektronik/src/saleselektronik/TokoB.java",
"chars": 1031,
"preview": "/*\n * To change this license header, choose License Headers in Project Properties.\n * To change this template file, choo"
},
{
"path": "Code/SalesElektronik/src/saleselektronik/TokoBIterator.java",
"chars": 743,
"preview": "/*\n * To change this license header, choose License Headers in Project Properties.\n * To change this template file, choo"
},
{
"path": "Code/TemplateWorker/build.xml",
"chars": 3554,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!-- You may freely edit this file. See commented blocks below for -->\n<!-- some "
},
{
"path": "Code/TemplateWorker/manifest.mf",
"chars": 82,
"preview": "Manifest-Version: 1.0\nX-COMMENT: Main-Class will be added automatically by build\n\n"
},
{
"path": "Code/TemplateWorker/nbproject/build-impl.xml",
"chars": 78485,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!--\n*** GENERATED FROM project.xml - DO NOT EDIT ***\n*** EDIT ../build."
},
{
"path": "Code/TemplateWorker/nbproject/genfiles.properties",
"chars": 467,
"preview": "build.xml.data.CRC32=63c6c573\nbuild.xml.script.CRC32=347f9e27\nbuild.xml.stylesheet.CRC32=8064a381@1.80.1.48\n# This file "
},
{
"path": "Code/TemplateWorker/nbproject/project.properties",
"chars": 2404,
"preview": "annotation.processing.enabled=true\nannotation.processing.enabled.in.editor=false\nannotation.processing.processor.options"
},
{
"path": "Code/TemplateWorker/nbproject/project.xml",
"chars": 507,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<project xmlns=\"http://www.netbeans.org/ns/project/1\">\n <type>org.netbeans.mod"
},
{
"path": "Code/TemplateWorker/src/templateworker/Dosen.java",
"chars": 441,
"preview": "/*\n * To change this license header, choose License Headers in Project Properties.\n * To change this template file, choo"
},
{
"path": "Code/TemplateWorker/src/templateworker/Pekerja.java",
"chars": 816,
"preview": "/*\n * To change this license header, choose License Headers in Project Properties.\n * To change this template file, choo"
},
{
"path": "Code/TemplateWorker/src/templateworker/PemadamKebakaran.java",
"chars": 456,
"preview": "/*\n * To change this license header, choose License Headers in Project Properties.\n * To change this template file, choo"
},
{
"path": "Code/TemplateWorker/src/templateworker/TemplateWorker.java",
"chars": 601,
"preview": "/*\n * To change this license header, choose License Headers in Project Properties.\n * To change this template file, choo"
},
{
"path": "Code/TemplateWorker/src/templateworker/TukangPos.java",
"chars": 429,
"preview": "/*\n * To change this license header, choose License Headers in Project Properties.\n * To change this template file, choo"
},
{
"path": "Code/WarungSedap/UML.mdj",
"chars": 279268,
"preview": "{\n\t\"_type\": \"Project\",\n\t\"_id\": \"AAAAAAFF+h6SjaM2Hec=\",\n\t\"name\": \"Untitled\",\n\t\"ownedElements\": [\n\t\t{\n\t\t\t\"_type\": \"UMLMode"
},
{
"path": "Code/WarungSedap/build.xml",
"chars": 3545,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!-- You may freely edit this file. See commented blocks below for -->\n<!-- some "
},
{
"path": "Code/WarungSedap/manifest.mf",
"chars": 82,
"preview": "Manifest-Version: 1.0\nX-COMMENT: Main-Class will be added automatically by build\n\n"
},
{
"path": "Code/WarungSedap/nbproject/build-impl.xml",
"chars": 78470,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!--\n*** GENERATED FROM project.xml - DO NOT EDIT ***\n*** EDIT ../build."
},
{
"path": "Code/WarungSedap/nbproject/genfiles.properties",
"chars": 467,
"preview": "build.xml.data.CRC32=f354b0d7\nbuild.xml.script.CRC32=525907a8\nbuild.xml.stylesheet.CRC32=8064a381@1.80.1.48\n# This file "
},
{
"path": "Code/WarungSedap/nbproject/project.properties",
"chars": 2395,
"preview": "annotation.processing.enabled=true\nannotation.processing.enabled.in.editor=false\nannotation.processing.processor.options"
},
{
"path": "Code/WarungSedap/nbproject/project.xml",
"chars": 504,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<project xmlns=\"http://www.netbeans.org/ns/project/1\">\n <type>org.netbeans.mod"
},
{
"path": "Code/WarungSedap/src/warungsedap/Bakso.java",
"chars": 395,
"preview": "/*\n * To change this license header, choose License Headers in Project Properties.\n * To change this template file, choo"
},
{
"path": "Code/WarungSedap/src/warungsedap/CekerAyam.java",
"chars": 544,
"preview": "/*\n * To change this license header, choose License Headers in Project Properties.\n * To change this template file, choo"
},
{
"path": "Code/WarungSedap/src/warungsedap/Lontong.java",
"chars": 538,
"preview": "/*\n * To change this license header, choose License Headers in Project Properties.\n * To change this template file, choo"
},
{
"path": "Code/WarungSedap/src/warungsedap/Makanan.java",
"chars": 417,
"preview": "/*\n * To change this license header, choose License Headers in Project Properties.\n * To change this template file, choo"
},
{
"path": "Code/WarungSedap/src/warungsedap/Pecel.java",
"chars": 389,
"preview": "/*\n * To change this license header, choose License Headers in Project Properties.\n * To change this template file, choo"
},
{
"path": "Code/WarungSedap/src/warungsedap/RempahRempah.java",
"chars": 371,
"preview": "/*\n * To change this license header, choose License Headers in Project Properties.\n * To change this template file, choo"
},
{
"path": "Code/WarungSedap/src/warungsedap/WarungSedap.java",
"chars": 1482,
"preview": "/*\n * To change this license header, choose License Headers in Project Properties.\n * To change this template file, choo"
},
{
"path": "Code/Weather-O-Rama/UML.mdj",
"chars": 152507,
"preview": "{\n\t\"_type\": \"Project\",\n\t\"_id\": \"AAAAAAFF+h6SjaM2Hec=\",\n\t\"name\": \"Untitled\",\n\t\"ownedElements\": [\n\t\t{\n\t\t\t\"_type\": \"UMLMode"
},
{
"path": "Code/Weather-O-Rama/build.xml",
"chars": 3554,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!-- You may freely edit this file. See commented blocks below for -->\n<!-- some "
},
{
"path": "Code/Weather-O-Rama/manifest.mf",
"chars": 82,
"preview": "Manifest-Version: 1.0\nX-COMMENT: Main-Class will be added automatically by build\n\n"
},
{
"path": "Code/Weather-O-Rama/nbproject/build-impl.xml",
"chars": 78485,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!--\n*** GENERATED FROM project.xml - DO NOT EDIT ***\n*** EDIT ../build."
},
{
"path": "Code/Weather-O-Rama/nbproject/genfiles.properties",
"chars": 467,
"preview": "build.xml.data.CRC32=3d802e85\nbuild.xml.script.CRC32=7d82eb77\nbuild.xml.stylesheet.CRC32=8064a381@1.80.1.48\n# This file "
},
{
"path": "Code/Weather-O-Rama/nbproject/project.properties",
"chars": 2402,
"preview": "annotation.processing.enabled=true\nannotation.processing.enabled.in.editor=false\nannotation.processing.processor.options"
},
{
"path": "Code/Weather-O-Rama/nbproject/project.xml",
"chars": 507,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<project xmlns=\"http://www.netbeans.org/ns/project/1\">\n <type>org.netbeans.mod"
},
{
"path": "Code/Weather-O-Rama/src/weather/o/rama/CurrentConditionsDisplay.java",
"chars": 916,
"preview": "/*\n * To change this license header, choose License Headers in Project Properties.\n * To change this template file, choo"
},
{
"path": "Code/Weather-O-Rama/src/weather/o/rama/DisplayElement.java",
"chars": 308,
"preview": "/*\n * To change this license header, choose License Headers in Project Properties.\n * To change this template file, choo"
},
{
"path": "Code/Weather-O-Rama/src/weather/o/rama/ForecastDisplay.java",
"chars": 1179,
"preview": "/*\n * To change this license header, choose License Headers in Project Properties.\n * To change this template file, choo"
},
{
"path": "Code/Weather-O-Rama/src/weather/o/rama/HeatIndexDisplay.java",
"chars": 1510,
"preview": "/*\n * To change this license header, choose License Headers in Project Properties.\n * To change this template file, choo"
},
{
"path": "Code/Weather-O-Rama/src/weather/o/rama/Observer.java",
"chars": 343,
"preview": "/*\n * To change this license header, choose License Headers in Project Properties.\n * To change this template file, choo"
},
{
"path": "Code/Weather-O-Rama/src/weather/o/rama/StatisticsDisplay.java",
"chars": 1110,
"preview": "/*\n * To change this license header, choose License Headers in Project Properties.\n * To change this template file, choo"
},
{
"path": "Code/Weather-O-Rama/src/weather/o/rama/Subject.java",
"chars": 399,
"preview": "/*\n * To change this license header, choose License Headers in Project Properties.\n * To change this template file, choo"
},
{
"path": "Code/Weather-O-Rama/src/weather/o/rama/WeatherData.java",
"chars": 1363,
"preview": "/*\n * To change this license header, choose License Headers in Project Properties.\n * To change this template file, choo"
},
{
"path": "Code/Weather-O-Rama/src/weather/o/rama/WeatherORama.java",
"chars": 1093,
"preview": "/*\n * To change this license header, choose License Headers in Project Properties.\n * To change this template file, choo"
},
{
"path": "README.md",
"chars": 558,
"preview": "# MK-Design-Pattern\nKumpulan file matakuliah Design Pattern\n\nUntuk mahasiswa STIKOM PGRI Banyuwangi yang mengambil matak"
}
]
// ... and 27 more files (download for full content)
About this extraction
This page contains the full source code of the ksatria/MK-Design-Pattern GitHub repository, extracted and formatted as plain text for AI agents and large language models (LLMs). The extraction includes 222 files (2.4 MB), approximately 642.5k tokens, and a symbol index with 373 extracted functions, classes, methods, constants, and types. Use this with OpenClaw, Claude, ChatGPT, Cursor, Windsurf, or any other AI tool that accepts text input. You can copy the full output to your clipboard or download it as a .txt file.
Extracted by GitExtract — free GitHub repo to text converter for AI. Built by Nikandr Surkov.