Exemplo n.º 1
0
 /// <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>();
 }
Exemplo n.º 2
0
 /// <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>();
 }
Exemplo n.º 3
0
 /// <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();
 }
Exemplo n.º 4
0
 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>();
 }
Exemplo n.º 5
0
 /// <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;
 }
Exemplo n.º 6
0
 /// <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)
 {
 }
Exemplo n.º 7
0
 /// <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();
 }
Exemplo n.º 8
0
 /// <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;
 }