共用方式為


CompositeEntityExtractor Class

  • java.lang.Object
    • com.microsoft.azure.cognitiveservices.language.luis.authoring.models.CompositeEntityExtractor

public class CompositeEntityExtractor

A Composite Entity Extractor.

Method Summary

Modifier and Type Method and Description
List<ChildEntity> children()

Get the children value.

UUID id()

Get the id value.

String name()

Get the name value.

String readableType()

Get the readableType value.

List<EntityRole> roles()

Get the roles value.

Integer typeId()

Get the typeId value.

CompositeEntityExtractor withChildren(List<ChildEntity> children)

Set the children value.

CompositeEntityExtractor withId(UUID id)

Set the id value.

CompositeEntityExtractor withName(String name)

Set the name value.

CompositeEntityExtractor withReadableType(String readableType)

Set the readableType value.

CompositeEntityExtractor withRoles(List<EntityRole> roles)

Set the roles value.

CompositeEntityExtractor withTypeId(Integer typeId)

Set the typeId value.

Method Details

children

public List children()

Get the children value.

Returns:

the children value

id

public UUID id()

Get the id value.

Returns:

the id value

name

public String name()

Get the name value.

Returns:

the name value

readableType

public String readableType()

Get the readableType value.

Returns:

the readableType value

roles

public List roles()

Get the roles value.

Returns:

the roles value

typeId

public Integer typeId()

Get the typeId value.

Returns:

the typeId value

withChildren

public CompositeEntityExtractor withChildren(List children)

Set the children value.

Parameters:

children - the children value to set

Returns:

the CompositeEntityExtractor object itself.

withId

public CompositeEntityExtractor withId(UUID id)

Set the id value.

Parameters:

id - the id value to set

Returns:

the CompositeEntityExtractor object itself.

withName

public CompositeEntityExtractor withName(String name)

Set the name value.

Parameters:

name - the name value to set

Returns:

the CompositeEntityExtractor object itself.

withReadableType

public CompositeEntityExtractor withReadableType(String readableType)

Set the readableType value.

Parameters:

readableType - the readableType value to set

Returns:

the CompositeEntityExtractor object itself.

withRoles

public CompositeEntityExtractor withRoles(List roles)

Set the roles value.

Parameters:

roles - the roles value to set

Returns:

the CompositeEntityExtractor object itself.

withTypeId

public CompositeEntityExtractor withTypeId(Integer typeId)

Set the typeId value.

Parameters:

typeId - the typeId value to set

Returns:

the CompositeEntityExtractor object itself.

Applies to