mirror of
https://github.com/OpenSPG/openspg.git
synced 2025-11-13 17:07:59 +00:00
Merge remote-tracking branch 'upstream/branch0101' into branch0101
# Conflicts: # python/knext/knext/examples/financial/schema/financial_schema_helper.py
This commit is contained in:
commit
64e07ce051
@ -28,10 +28,9 @@ import com.antgroup.openspg.builder.model.record.BaseRecord;
|
|||||||
import com.antgroup.openspg.builder.model.record.BuilderRecord;
|
import com.antgroup.openspg.builder.model.record.BuilderRecord;
|
||||||
import com.antgroup.openspg.core.schema.model.identifier.SPGTypeIdentifier;
|
import com.antgroup.openspg.core.schema.model.identifier.SPGTypeIdentifier;
|
||||||
import com.antgroup.openspg.core.schema.model.type.BaseSPGType;
|
import com.antgroup.openspg.core.schema.model.type.BaseSPGType;
|
||||||
|
import com.google.common.collect.Lists;
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
import com.google.common.collect.Lists;
|
|
||||||
import lombok.extern.slf4j.Slf4j;
|
import lombok.extern.slf4j.Slf4j;
|
||||||
|
|
||||||
@Slf4j
|
@Slf4j
|
||||||
|
|||||||
@ -37,6 +37,7 @@
|
|||||||
<mainClass>com.antgroup.openspg.builder.runner.local.LocalBuilderMain</mainClass>
|
<mainClass>com.antgroup.openspg.builder.runner.local.LocalBuilderMain</mainClass>
|
||||||
</manifest>
|
</manifest>
|
||||||
</archive>
|
</archive>
|
||||||
|
<outputDirectory>../../../python/knext/knext/lib</outputDirectory>
|
||||||
</configuration>
|
</configuration>
|
||||||
<executions>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
|
|||||||
@ -26,51 +26,51 @@ class Financial:
|
|||||||
name = PropertyHelper("name")
|
name = PropertyHelper("name")
|
||||||
stdId = PropertyHelper("stdId")
|
stdId = PropertyHelper("stdId")
|
||||||
alias = PropertyHelper("alias")
|
alias = PropertyHelper("alias")
|
||||||
|
|
||||||
class AreaRiskEvent(SPGTypeHelper):
|
class AreaRiskEvent(SPGTypeHelper):
|
||||||
description = PropertyHelper("description")
|
description = PropertyHelper("description")
|
||||||
id = PropertyHelper("id")
|
id = PropertyHelper("id")
|
||||||
name = PropertyHelper("name")
|
name = PropertyHelper("name")
|
||||||
eventTime = PropertyHelper("eventTime")
|
|
||||||
object = PropertyHelper("object")
|
|
||||||
subject = PropertyHelper("subject")
|
subject = PropertyHelper("subject")
|
||||||
|
object = PropertyHelper("object")
|
||||||
|
eventTime = PropertyHelper("eventTime")
|
||||||
|
|
||||||
class Company(SPGTypeHelper):
|
class Company(SPGTypeHelper):
|
||||||
description = PropertyHelper("description")
|
description = PropertyHelper("description")
|
||||||
id = PropertyHelper("id")
|
id = PropertyHelper("id")
|
||||||
name = PropertyHelper("name")
|
name = PropertyHelper("name")
|
||||||
orgCertNo = PropertyHelper("orgCertNo")
|
orgCertNo = PropertyHelper("orgCertNo")
|
||||||
establishDate = PropertyHelper("establishDate")
|
|
||||||
regArea = PropertyHelper("regArea")
|
|
||||||
regCapital = PropertyHelper("regCapital")
|
regCapital = PropertyHelper("regCapital")
|
||||||
businessScope = PropertyHelper("businessScope")
|
|
||||||
legalPerson = PropertyHelper("legalPerson")
|
legalPerson = PropertyHelper("legalPerson")
|
||||||
|
regArea = PropertyHelper("regArea")
|
||||||
|
establishDate = PropertyHelper("establishDate")
|
||||||
|
businessScope = PropertyHelper("businessScope")
|
||||||
|
|
||||||
class CompanyEvent(SPGTypeHelper):
|
class CompanyEvent(SPGTypeHelper):
|
||||||
description = PropertyHelper("description")
|
description = PropertyHelper("description")
|
||||||
id = PropertyHelper("id")
|
id = PropertyHelper("id")
|
||||||
name = PropertyHelper("name")
|
name = PropertyHelper("name")
|
||||||
location = PropertyHelper("location")
|
|
||||||
eventTime = PropertyHelper("eventTime")
|
eventTime = PropertyHelper("eventTime")
|
||||||
happenedTime = PropertyHelper("happenedTime")
|
|
||||||
subject = PropertyHelper("subject")
|
subject = PropertyHelper("subject")
|
||||||
|
location = PropertyHelper("location")
|
||||||
|
happenedTime = PropertyHelper("happenedTime")
|
||||||
object = PropertyHelper("object")
|
object = PropertyHelper("object")
|
||||||
|
|
||||||
class Indicator(SPGTypeHelper):
|
class Indicator(SPGTypeHelper):
|
||||||
description = PropertyHelper("description")
|
description = PropertyHelper("description")
|
||||||
id = PropertyHelper("id")
|
id = PropertyHelper("id")
|
||||||
name = PropertyHelper("name")
|
name = PropertyHelper("name")
|
||||||
stdId = PropertyHelper("stdId")
|
stdId = PropertyHelper("stdId")
|
||||||
alias = PropertyHelper("alias")
|
alias = PropertyHelper("alias")
|
||||||
|
|
||||||
class State(SPGTypeHelper):
|
class State(SPGTypeHelper):
|
||||||
description = PropertyHelper("description")
|
description = PropertyHelper("description")
|
||||||
id = PropertyHelper("id")
|
id = PropertyHelper("id")
|
||||||
name = PropertyHelper("name")
|
name = PropertyHelper("name")
|
||||||
causes = PropertyHelper("causes")
|
|
||||||
alias = PropertyHelper("alias")
|
|
||||||
derivedFrom = PropertyHelper("derivedFrom")
|
derivedFrom = PropertyHelper("derivedFrom")
|
||||||
|
causes = PropertyHelper("causes")
|
||||||
stdId = PropertyHelper("stdId")
|
stdId = PropertyHelper("stdId")
|
||||||
|
alias = PropertyHelper("alias")
|
||||||
|
|
||||||
AdministrativeArea = AdministrativeArea("Financial.AdministrativeArea")
|
AdministrativeArea = AdministrativeArea("Financial.AdministrativeArea")
|
||||||
AreaRiskEvent = AreaRiskEvent("Financial.AreaRiskEvent")
|
AreaRiskEvent = AreaRiskEvent("Financial.AreaRiskEvent")
|
||||||
|
|||||||
@ -127,9 +127,10 @@
|
|||||||
</descriptorRefs>
|
</descriptorRefs>
|
||||||
<archive>
|
<archive>
|
||||||
<manifest>
|
<manifest>
|
||||||
<mainClass>com.antgroup.openspg.builder.runner.local.LocalBuilderMain</mainClass>
|
<mainClass>com.antgroup.openspg.reasoner.runner.local.LocalReasonerMain</mainClass>
|
||||||
</manifest>
|
</manifest>
|
||||||
</archive>
|
</archive>
|
||||||
|
<outputDirectory>../../../python/knext/knext/lib</outputDirectory>
|
||||||
</configuration>
|
</configuration>
|
||||||
<executions>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user