public class ProducerDescriptor
extends java.lang.Object
We can't create a Producer object directly when we parse the data stream because the file format allows for cross references between producers.
Modifier and Type | Field and Description |
---|---|
private ContentTypeDescriptor[] |
contentTypes |
private java.lang.String |
description |
private EventTypeDescriptor[] |
eventTypeDescriptors |
private int |
identifier |
private java.lang.String |
name |
private java.lang.String |
uriString |
Constructor and Description |
---|
ProducerDescriptor(java.lang.String name,
java.lang.String description,
java.lang.String uriString,
int identifier,
EventTypeDescriptor[] eventTypeDescriptors,
ContentTypeDescriptor[] contentTypes) |
Modifier and Type | Method and Description |
---|---|
ContentTypeDescriptor[] |
getContentTypes() |
java.lang.String |
getDescription() |
EventTypeDescriptor[] |
getEventTypeDescriptors() |
int |
getIdentifier() |
java.lang.String |
getName() |
java.lang.String |
getURIString() |
private final java.lang.String name
private final java.lang.String description
private final java.lang.String uriString
private final int identifier
private final EventTypeDescriptor[] eventTypeDescriptors
private final ContentTypeDescriptor[] contentTypes
public ProducerDescriptor(java.lang.String name, java.lang.String description, java.lang.String uriString, int identifier, EventTypeDescriptor[] eventTypeDescriptors, ContentTypeDescriptor[] contentTypes)
public java.lang.String getName()
public java.lang.String getDescription()
public java.lang.String getURIString()
public int getIdentifier()
public EventTypeDescriptor[] getEventTypeDescriptors()
public ContentTypeDescriptor[] getContentTypes()