Class DataObjectBuilder


  • public class DataObjectBuilder
    extends Object
    Author:
    Geoffroy Jamgotchian
    • Constructor Detail

      • DataObjectBuilder

        public DataObjectBuilder()
    • Method Detail

      • createClass

        public void createClass​(String name)
      • createAttribute

        public void createAttribute​(String className,
                                    String attributeName,
                                    int type,
                                    String description)
      • createObject

        public void createObject​(long id,
                                 String className)
      • setObjectParent

        public void setObjectParent​(long id,
                                    long parentId)
      • setIntAttributeValue

        public void setIntAttributeValue​(long objectId,
                                         String attributeName,
                                         int value)
      • setLongAttributeValue

        public void setLongAttributeValue​(long objectId,
                                          String attributeName,
                                          long value)
      • setDoubleAttributeValue

        public void setDoubleAttributeValue​(long objectId,
                                            String attributeName,
                                            double value)
      • setStringAttributeValue

        public void setStringAttributeValue​(long objectId,
                                            String attributeName,
                                            String value)
      • setObjectAttributeValue

        public void setObjectAttributeValue​(long objectId,
                                            String attributeName,
                                            long otherObjectId)
      • setIntVectorAttributeValue

        public void setIntVectorAttributeValue​(long objectId,
                                               String attributeName,
                                               List<Integer> value)
      • setLongVectorAttributeValue

        public void setLongVectorAttributeValue​(long objectId,
                                                String attributeName,
                                                List<Long> value)
      • setDoubleVectorAttributeValue

        public void setDoubleVectorAttributeValue​(long objectId,
                                                  String attributeName,
                                                  List<Double> value)
      • setStringVectorAttributeValue

        public void setStringVectorAttributeValue​(long objectId,
                                                  String attributeName,
                                                  List<String> value)
      • setObjectVectorAttributeValue

        public void setObjectVectorAttributeValue​(long objectId,
                                                  String attributeName,
                                                  List<Long> otherObjectsIds)
      • setDoubleMatrixAttributeValue

        public void setDoubleMatrixAttributeValue​(long objectId,
                                                  String attributeName,
                                                  int rowCount,
                                                  int columnCount,
                                                  List<Double> value)