forked from sones/sones
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote branch 'remotes/origin/RemoteAPI_bug_fix'
- Loading branch information
Showing
15 changed files
with
1,181 additions
and
872 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
491 changes: 257 additions & 234 deletions
491
...ons/GraphDSRemoteClient/Service References/sonesGraphDSRemoteAPI/RPCServiceContract1.wsdl
Large diffs are not rendered by default.
Oops, something went wrong.
866 changes: 505 additions & 361 deletions
866
...Implementations/GraphDSRemoteClient/Service References/sonesGraphDSRemoteAPI/Reference.cs
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 22 additions & 0 deletions
22
...raphDSRemoteClient/StubExtensions/ServiceRequests/ServiceUnknownAttributePredefinition.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
using sones.GraphDB.TypeSystem; | ||
|
||
namespace sones.GraphDS.GraphDSRemoteClient.sonesGraphDSRemoteAPI | ||
{ | ||
public partial class ServiceUnknownAttributePredefinition | ||
{ | ||
internal ServiceUnknownAttributePredefinition(UnknownAttributePredefinition myPredef) | ||
: base(myPredef) | ||
{ | ||
DefaultValue = myPredef.DefaultValue; | ||
EdgeType = myPredef.EdgeType; | ||
InnerEdgeType = myPredef.InnerEdgeType; | ||
IsMandatory = myPredef.IsMandatory; | ||
IsUnique = myPredef.IsUnique; | ||
Multiplicity = myPredef.Multiplicity; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
69 changes: 69 additions & 0 deletions
69
...ns/RemoteAPIService/DataContracts/ServiceRequests/ServiceUnknownAttributePredefinition.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
/* | ||
* sones GraphDB - Community Edition - http://www.sones.com | ||
* Copyright (C) 2007-2011 sones GmbH | ||
* | ||
* This file is part of sones GraphDB Community Edition. | ||
* | ||
* sones GraphDB is free software: you can redistribute it and/or modify | ||
* it under the terms of the GNU Affero General Public License as published by | ||
* the Free Software Foundation, version 3 of the License. | ||
* | ||
* sones GraphDB is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
* GNU Affero General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU Affero General Public License | ||
* along with sones GraphDB. If not, see <http://www.gnu.org/licenses/>. | ||
* | ||
*/ | ||
|
||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
using System.Runtime.Serialization; | ||
using sones.GraphDB.TypeSystem; | ||
|
||
namespace sones.GraphDS.Services.RemoteAPIService.DataContracts.ServiceRequests | ||
{ | ||
[DataContract(Namespace = sonesRPCServer.Namespace)] | ||
public class ServiceUnknownAttributePredefinition : ServiceAttributePredefinition | ||
{ | ||
[DataMember] | ||
public String Multiplicity; | ||
|
||
[DataMember] | ||
public String DefaultValue; | ||
|
||
[DataMember] | ||
public String EdgeType; | ||
|
||
[DataMember] | ||
public String InnerEdgeType; | ||
|
||
[DataMember] | ||
public bool IsMandatory; | ||
|
||
[DataMember] | ||
public bool IsUnique; | ||
|
||
public UnknownAttributePredefinition ToUnknownAttributePredefinition() | ||
{ | ||
var attributePredef = new UnknownAttributePredefinition(this.AttributeName, this.AttributeType); | ||
attributePredef.SetMultiplicity(this.Multiplicity); | ||
attributePredef.SetDefaultValue(this.DefaultValue); | ||
attributePredef.SetEdgeType(this.EdgeType); | ||
attributePredef.SetInnerEdgeType(this.InnerEdgeType); | ||
if (this.IsMandatory == true) | ||
{ | ||
attributePredef.SetAsMandatory(); | ||
} | ||
if (this.IsUnique == true) | ||
{ | ||
attributePredef.SetAsUnique(); | ||
} | ||
return attributePredef; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.