Table of Contents

Class JvmChildEndpoint

Namespace
TypedRest.CodeGeneration.Jvm.Model
Assembly
TypedRest.CodeGeneration.Jvm.dll

A child endpoint exposed by a generated endpoint class.

public sealed class JvmChildEndpoint
Inheritance
object
JvmChildEndpoint

Constructors

JvmChildEndpoint(string, JvmIdentifier, JvmExpression)

A child endpoint exposed by a generated endpoint class.

public JvmChildEndpoint(string name, JvmIdentifier type, JvmExpression value)

Parameters

name string

The name of the member.

type JvmIdentifier

The type of the member.

value JvmExpression

The expression the member is initialized with.

Properties

Deprecated

Marks the member as deprecated.

public bool Deprecated { get; set; }

Property Value

bool

ImplementationType

The concrete type Value constructs, which is what an element factory has to instantiate.

public JvmIdentifier ImplementationType { get; set; }

Property Value

JvmIdentifier

Remarks

Differs from Type only when interfaces are being generated.

Name

The name of the member.

public string Name { get; }

Property Value

string

Summary

A description of the member for a JavaDoc/KDoc comment.

public string? Summary { get; set; }

Property Value

string

Type

The declared type of the member. The generated interface where there is one, otherwise the concrete type.

public JvmIdentifier Type { get; }

Property Value

JvmIdentifier

Value

The expression the member is initialized with.

public JvmExpression Value { get; }

Property Value

JvmExpression

Methods

GetImports()

Returns every type that has to be imported to declare this member.

public IEnumerable<JvmIdentifier> GetImports()

Returns

IEnumerable<JvmIdentifier>