d5d3d4197b738d37dc94494f73aebf54e6e1c37d
[deliverable/tracecompass.git] / org.eclipse.tracecompass.ctf.core / src / org / eclipse / tracecompass / ctf / core / event / types / ICompositeDefinition.java
1 /*******************************************************************************
2 * Copyright (c) 2014 Ericsson
3 *
4 * All rights reserved. This program and the accompanying materials are made
5 * available under the terms of the Eclipse Public License v1.0 which
6 * accompanies this distribution, and is available at
7 * http://www.eclipse.org/legal/epl-v10.html
8 *
9 * Contributors:
10 * Matthew Khouzam - Initial API and implementation
11 *******************************************************************************/
12
13 package org.eclipse.tracecompass.ctf.core.event.types;
14
15 import java.util.List;
16
17 /**
18 * Interface for data definitions containing heterogenous definitions
19 * (subfields)
20 *
21 * @author Matthew Khouzam
22 * @since 3.1
23 */
24 public interface ICompositeDefinition extends IDefinition {
25
26 /**
27 * Gets the definition of the field
28 *
29 * @param fieldName
30 * the fieldname
31 * @return The definitions of all the fields
32 */
33 Definition getDefinition(String fieldName);
34
35 /**
36 * Gets an array of the field names
37 *
38 * @return the field names array
39 */
40 List<String> getFieldNames();
41
42 }
This page took 0.053942 seconds and 5 git commands to generate.