codes.rafael.structuraltype:structural-type-api

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-api
Last Version

Last Version

1.2
Release Date

Release Date

Type

Type

jar
Description

Description

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.
Source Code Management

Source Code Management

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

Download structural-type-api

How to add to project

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

There are no modules declared in this project.

Versions

Version
1.2
1.1
1.0