This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<settings xmlns="http://maven.apache.org/POM/4.0.0" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 | |
http://maven.apache.org/xsd/settings-1.0.0.xsd"> | |
<pluginGroups> | |
<pluginGroup>org.objectstyle.woproject.maven2</pluginGroup> | |
</pluginGroups> | |
<profiles> | |
<profile> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package x; | |
import java.util.HashMap; | |
import java.util.List; | |
import java.util.Map; | |
import java.util.Objects; | |
import org.apache.cayenne.DataObject; | |
import org.apache.cayenne.ObjectContext; | |
import org.apache.cayenne.ObjectId; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/***************************************************************** | |
* Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at | |
* | |
* http://www.apache.org/licenses/LICENSE-2.0 | |
* | |
* Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. | |
****************************************************************/ | |
package org.apache.cayenne.reflect; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package x; | |
import org.apache.cayenne.map.DbEntity; | |
import org.apache.cayenne.map.DbJoin; | |
import org.apache.cayenne.map.DbRelationship; | |
import nb.NBCore; | |
public class ListRelationships { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package x; | |
import java.text.FieldPosition; | |
import java.text.Format; | |
import java.text.ParsePosition; | |
import java.time.LocalDate; | |
import java.time.format.DateTimeFormatter; | |
import java.time.temporal.TemporalAccessor; | |
import java.util.Objects; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<settings xmlns="http://maven.apache.org/POM/4.0.0" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 | |
http://maven.apache.org/xsd/settings-1.0.0.xsd"> | |
<pluginGroups> | |
<pluginGroup>org.objectstyle.woproject.maven2</pluginGroup> | |
</pluginGroups> | |
<profiles> | |
<profile> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package gardur.app; | |
import java.util.Optional; | |
import com.webobjects.foundation.NSKeyValueCoding; | |
import net.bytebuddy.ByteBuddy; | |
import net.bytebuddy.agent.ByteBuddyAgent; | |
import net.bytebuddy.asm.Advice; | |
import net.bytebuddy.dynamic.loading.ClassReloadingStrategy; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.webobjects.foundation; | |
import java.lang.reflect.Method; | |
import java.util.Optional; | |
import net.bytebuddy.ByteBuddy; | |
import net.bytebuddy.agent.ByteBuddyAgent; | |
import net.bytebuddy.asm.Advice; | |
import net.bytebuddy.dynamic.loading.ClassReloadingStrategy; | |
import net.bytebuddy.matcher.ElementMatchers; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
func decode() { | |
if let url = URL(string: "https://www.husvordurinn.is/Apps/WebObjects/Husvordurinn.woa/wa/GodurKodi") { | |
do { | |
let jsonData = try Data(contentsOf: url) | |
if let balance = try? JSONDecoder().decode(Balance.self, from: jsonData) { | |
for t in balance.transactions { | |
print( t ); | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<plugin> | |
<artifactId>maven-resources-plugin</artifactId> | |
<version>2.6</version> | |
<executions> | |
<execution> | |
<id>copy-resources</id> | |
<phase>validate</phase> | |
<goals> | |
<goal>copy-resources</goal> | |
</goals> |