Structural types for Java

This project aims to create a structural representation of similar nominal Java classes. A structural type is represented by an interface that contains property accessors for all properties that are defined by those classes. For each class, a projection class is generated that implements that interface for delegation to the nominal classes for which the structure was created. Additionally, a template implementation is created that implements the structural interface as a Java bean.

License

License

GroupId

GroupId

codes.rafael.structuraltype
ArtifactId

ArtifactId

structural-type
Last Version

Last Version

1.2
Release Date

Release Date

Type

Type

pom
Description

Description

Structural types for Java
This project aims to create a structural representation of similar nominal Java classes. A structural type is represented by an interface that contains property accessors for all properties that are defined by those classes. For each class, a projection class is generated that implements that interface for delegation to the nominal classes for which the structure was created. Additionally, a template implementation is created that implements the structural interface as a Java bean.
Project URL

Project URL

https://github.com/raphw/skatteprosessen-structural-type
Source Code Management

Source Code Management

http://github.com/raphw/skatteprosessen-structural-type/tree/master

Download structural-type

Filename Size
structural-type-1.2.pom 5 KB
Browse

How to add to project

<!-- https://jarcasting.com/artifacts/codes.rafael.structuraltype/structural-type/ -->
<dependency>
    <groupId>codes.rafael.structuraltype</groupId>
    <artifactId>structural-type</artifactId>
    <version>1.2</version>
    <type>pom</type>
</dependency>
// https://jarcasting.com/artifacts/codes.rafael.structuraltype/structural-type/
implementation 'codes.rafael.structuraltype:structural-type:1.2'
// https://jarcasting.com/artifacts/codes.rafael.structuraltype/structural-type/
implementation ("codes.rafael.structuraltype:structural-type:1.2")
'codes.rafael.structuraltype:structural-type:pom:1.2'
<dependency org="codes.rafael.structuraltype" name="structural-type" rev="1.2">
  <artifact name="structural-type" type="pom" />
</dependency>
@Grapes(
@Grab(group='codes.rafael.structuraltype', module='structural-type', version='1.2')
)
libraryDependencies += "codes.rafael.structuraltype" % "structural-type" % "1.2"
[codes.rafael.structuraltype/structural-type "1.2"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

  • structural-type-api
  • structural-type-generator
  • structural-type-maven-plugin

Versions

Version
1.2
1.1
1.0