Package com.yahoo.documentmodel
Class DataTypeRepo
- java.lang.Object
-
- com.yahoo.documentmodel.DataTypeRepo
-
- All Implemented Interfaces:
DataTypeCollection
public class DataTypeRepo extends java.lang.Object implements DataTypeCollection
- Author:
- baldersheim
-
-
Constructor Summary
Constructors Constructor Description DataTypeRepo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DataTypeRepo
add(com.yahoo.document.DataType type)
DataTypeRepo
addAll(DataTypeCollection repo)
com.yahoo.document.DataType
getDataType(int id)
com.yahoo.document.DataType
getDataType(java.lang.String name)
java.util.Collection<com.yahoo.document.DataType>
getTypes()
DataTypeRepo
replace(com.yahoo.document.DataType type)
-
-
-
Method Detail
-
getDataType
public com.yahoo.document.DataType getDataType(java.lang.String name)
- Specified by:
getDataType
in interfaceDataTypeCollection
-
getDataType
public com.yahoo.document.DataType getDataType(int id)
- Specified by:
getDataType
in interfaceDataTypeCollection
-
getTypes
public java.util.Collection<com.yahoo.document.DataType> getTypes()
- Specified by:
getTypes
in interfaceDataTypeCollection
-
add
public DataTypeRepo add(com.yahoo.document.DataType type)
-
addAll
public DataTypeRepo addAll(DataTypeCollection repo)
-
replace
public DataTypeRepo replace(com.yahoo.document.DataType type)
-
-