/// <summary> /// Default ctor to build an empty container of the given flavor and given type /// </summary> public RDFContainer(RDFModelEnums.RDFContainerTypes containerType, RDFModelEnums.RDFItemTypes itemType) { this.ContainerType = containerType; this.ItemType = itemType; this.ReificationSubject = new RDFResource(); this.Items = new List <RDFPatternMember>(); }
/// <summary> /// Default ctor to build an empty collection of the given type /// (initial configuration of the collection is "rdf:Nil") /// </summary> public RDFCollection(RDFModelEnums.RDFItemTypes itemType) { this.ItemType = itemType; this.ReificationSubject = RDFVocabulary.RDF.NIL; this.InternalReificationSubject = new RDFResource(); this.Items = new List <RDFPatternMember>(); }
/// <summary> /// Default ctor to build an empty container of the given flavor and given type /// </summary> public RDFContainer(RDFModelEnums.RDFContainerTypes containerType, RDFModelEnums.RDFItemTypes itemType) { this.ContainerType = containerType; this.ItemType = itemType; this.ReificationSubject = new RDFResource(); this.Items = new ArrayList(); }
internal RDFCollection(RDFModelEnums.RDFItemTypes itemType, bool acceptDuplicates) { this.ItemType = itemType; this.ReificationSubject = RDFVocabulary.RDF.NIL; this.InternalReificationSubject = new RDFResource(); this.AcceptDuplicates = acceptDuplicates; this.Items = new List <RDFPatternMember>(); }
/// <summary> /// Default-ctor to build a in constraint of the given type (Resource/Literal) /// </summary> public RDFInConstraint(RDFModelEnums.RDFItemTypes itemType) : base() { this.InValues = new Dictionary <long, RDFPatternMember>(); this.ItemType = itemType; }
/// <summary> /// Default ctor to build an empty collection of the given type /// (initial configuration of the collection is "rdf:Nil") /// </summary> public RDFCollection(RDFModelEnums.RDFItemTypes itemType) : this(itemType, false) { }
/// <summary> /// Default ctor to build an empty collection of the given type /// </summary> public RDFCollection(RDFModelEnums.RDFItemTypes itemType) { this.ItemType = itemType; this.ReificationSubject = new RDFResource(); this.Items = new ArrayList(); }
/// <summary> /// Default-ctor to build a RDFCollectionItem with the given parameters /// </summary> internal RDFCollectionItem(RDFModelEnums.RDFItemTypes itemType, Object itemValue, Object itemNext) { this.ItemType = itemType; this.ItemValue = itemValue; this.ItemNext = itemNext; }