com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty Java Examples
The following examples show how to use
com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: Group.java From dhis2-core with BSD 3-Clause "New" or "Revised" License | 5 votes |
@JsonProperty( value = "fields" ) @JacksonXmlElementWrapper( localName = "fields", namespace = DxfNamespaces.DXF_2_0 ) @JacksonXmlProperty( localName = "field", namespace = DxfNamespaces.DXF_2_0 ) public List<Field> getFields() { return fields; }
Example #2
Source File: DataApprovalStateResponse.java From dhis2-core with BSD 3-Clause "New" or "Revised" License | 5 votes |
@JsonProperty @JsonSerialize( as = BaseIdentifiableObject.class ) @JacksonXmlProperty( namespace = DxfNamespaces.DXF_2_0 ) public OrganisationUnit getOrganisationUnit() { return organisationUnit; }
Example #3
Source File: DashboardItem.java From dhis2-core with BSD 3-Clause "New" or "Revised" License | 5 votes |
@JsonProperty @JsonSerialize( as = BaseIdentifiableObject.class ) @JacksonXmlProperty( namespace = DXF_2_0 ) public Map getMap() { return map; }
Example #4
Source File: ValidationResult.java From dhis2-core with BSD 3-Clause "New" or "Revised" License | 5 votes |
@JsonProperty @JsonSerialize( as = BaseIdentifiableObject.class ) @JacksonXmlProperty( namespace = DxfNamespaces.DXF_2_0 ) public OrganisationUnit getOrganisationUnit() { return organisationUnit; }
Example #5
Source File: Metadata.java From dhis2-core with BSD 3-Clause "New" or "Revised" License | 5 votes |
@JsonProperty @JacksonXmlElementWrapper( localName = "externalMapLayers", namespace = DxfNamespaces.DXF_2_0 ) @JacksonXmlProperty( localName = "externalMapLayer", namespace = DxfNamespaces.DXF_2_0 ) public List<ExternalMapLayer> getExternalMapLayers() { return externalMapLayers; }
Example #6
Source File: ProgramRuleAction.java From dhis2-core with BSD 3-Clause "New" or "Revised" License | 5 votes |
@JsonProperty @JsonSerialize( as = BaseIdentifiableObject.class ) @JacksonXmlProperty( namespace = DxfNamespaces.DXF_2_0 ) public DataElement getDataElement() { return dataElement; }
Example #7
Source File: Metadata.java From dhis2-core with BSD 3-Clause "New" or "Revised" License | 5 votes |
@JsonProperty @JacksonXmlElementWrapper( localName = "categories", namespace = DxfNamespaces.DXF_2_0 ) @JacksonXmlProperty( localName = "category", namespace = DxfNamespaces.DXF_2_0 ) public List<Category> getCategories() { return categories; }
Example #8
Source File: CompleteDataSetRegistrations.java From dhis2-core with BSD 3-Clause "New" or "Revised" License | 5 votes |
@JsonProperty @JacksonXmlElementWrapper( useWrapping = false, namespace = DxfNamespaces.DXF_2_0 ) @JacksonXmlProperty( localName = "completeDataSetRegistration", namespace = DxfNamespaces.DXF_2_0 ) public List<CompleteDataSetRegistration> getCompleteDataSetRegistrations() { return completeDataSetRegistrations; }
Example #9
Source File: DataDimensionItem.java From dhis2-core with BSD 3-Clause "New" or "Revised" License | 5 votes |
@JsonProperty @JsonSerialize( as = BaseNameableObject.class ) @JacksonXmlProperty( namespace = DxfNamespaces.DXF_2_0 ) public ProgramTrackedEntityAttributeDimensionItem getProgramAttribute() { return programAttribute; }
Example #10
Source File: BaseAnalyticalObject.java From dhis2-core with BSD 3-Clause "New" or "Revised" License | 5 votes |
@Override @JsonProperty( access = JsonProperty.Access.READ_ONLY ) @JacksonXmlProperty( localName = "parentGraphMap", namespace = DxfNamespaces.DXF_2_0 ) public Map<String, String> getParentGraphMap() { return parentGraphMap; }
Example #11
Source File: Interpretation.java From dhis2-core with BSD 3-Clause "New" or "Revised" License | 5 votes |
@JsonProperty @JsonSerialize( as = BaseIdentifiableObject.class ) @JacksonXmlProperty( namespace = DXF_2_0 ) public Period getPeriod() { return period; }
Example #12
Source File: TrackedEntityAttributeDimension.java From dhis2-core with BSD 3-Clause "New" or "Revised" License | 5 votes |
@JsonProperty @JsonSerialize( as = BaseIdentifiableObject.class ) @JacksonXmlProperty( namespace = DxfNamespaces.DXF_2_0 ) public TrackedEntityAttribute getAttribute() { return attribute; }
Example #13
Source File: Interpretation.java From dhis2-core with BSD 3-Clause "New" or "Revised" License | 5 votes |
@JsonProperty( "likedBy" ) @JsonSerialize( contentAs = BaseIdentifiableObject.class ) @JacksonXmlElementWrapper( localName = "likedBy", namespace = DXF_2_0 ) @JacksonXmlProperty( localName = "likeByUser", namespace = DXF_2_0 ) public Set<User> getLikedBy() { return likedBy; }
Example #14
Source File: ProgramInstance.java From dhis2-core with BSD 3-Clause "New" or "Revised" License | 5 votes |
@JsonProperty( "trackedEntityInstance" ) @JsonSerialize( as = BaseIdentifiableObject.class ) @JacksonXmlProperty( localName = "trackedEntityInstance", namespace = DxfNamespaces.DXF_2_0 ) public TrackedEntityInstance getEntityInstance() { return entityInstance; }
Example #15
Source File: JobConfiguration.java From dhis2-core with BSD 3-Clause "New" or "Revised" License | 5 votes |
/** * The sub type names refer to the {@link JobType} enumeration. Defaults to null for unmapped job types. */ @JacksonXmlProperty @JsonProperty @Property( required = FALSE ) @JsonTypeInfo( use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.EXTERNAL_PROPERTY, property = "jobType", defaultImpl = java.lang.Void.class ) @JsonSubTypes( value = { @JsonSubTypes.Type( value = AnalyticsJobParameters.class, name = "ANALYTICS_TABLE" ), @JsonSubTypes.Type( value = ContinuousAnalyticsJobParameters.class, name = "CONTINUOUS_ANALYTICS_TABLE" ), @JsonSubTypes.Type( value = MonitoringJobParameters.class, name = "MONITORING" ), @JsonSubTypes.Type( value = PredictorJobParameters.class, name = "PREDICTOR" ), @JsonSubTypes.Type( value = PushAnalysisJobParameters.class, name = "PUSH_ANALYSIS" ), @JsonSubTypes.Type( value = SmsJobParameters.class, name = "SMS_SEND" ), @JsonSubTypes.Type( value = MetadataSyncJobParameters.class, name = "META_DATA_SYNC" ), @JsonSubTypes.Type( value = EventProgramsDataSynchronizationJobParameters.class, name = "EVENT_PROGRAMS_DATA_SYNC" ), @JsonSubTypes.Type( value = TrackerProgramsDataSynchronizationJobParameters.class, name = "TRACKER_PROGRAMS_DATA_SYNC" ), @JsonSubTypes.Type( value = DataSynchronizationJobParameters.class, name = "DATA_SYNC" ) } ) public JobParameters getJobParameters() { return jobParameters; }
Example #16
Source File: DataElementGroupSet.java From dhis2-core with BSD 3-Clause "New" or "Revised" License | 5 votes |
@Override @JsonProperty @JsonSerialize( contentAs = BaseDimensionalItemObject.class ) @JacksonXmlElementWrapper( localName = "items", namespace = DxfNamespaces.DXF_2_0 ) @JacksonXmlProperty( localName = "item", namespace = DxfNamespaces.DXF_2_0 ) public List<DimensionalItemObject> getItems() { return Lists.newArrayList( members ); }
Example #17
Source File: Metadata.java From dhis2-core with BSD 3-Clause "New" or "Revised" License | 5 votes |
@JsonProperty @JacksonXmlElementWrapper( localName = "organisationUnits", namespace = DxfNamespaces.DXF_2_0 ) @JacksonXmlProperty( localName = "organisationUnit", namespace = DxfNamespaces.DXF_2_0 ) public List<OrganisationUnit> getOrganisationUnits() { return organisationUnits; }
Example #18
Source File: CategoryOptionGroupSetDimension.java From dhis2-core with BSD 3-Clause "New" or "Revised" License | 5 votes |
@JsonProperty( "categoryOptionGroupSet" ) @JsonSerialize( as = BaseIdentifiableObject.class ) @JacksonXmlProperty( localName = "categoryOptionGroupSet", namespace = DxfNamespaces.DXF_2_0 ) public CategoryOptionGroupSet getDimension() { return dimension; }
Example #19
Source File: BaseDimensionalItemObject.java From dhis2-core with BSD 3-Clause "New" or "Revised" License | 5 votes |
@Override @JsonProperty @JacksonXmlProperty( namespace = DxfNamespaces.DXF_2_0 ) public String getDimensionItem() { return getUid(); }
Example #20
Source File: BaseIdentifiableObject.java From dhis2-core with BSD 3-Clause "New" or "Revised" License | 5 votes |
@Override @JsonProperty @JacksonXmlElementWrapper( localName = "translations", namespace = DxfNamespaces.DXF_2_0 ) @JacksonXmlProperty( localName = "translation", namespace = DxfNamespaces.DXF_2_0 ) public Set<Translation> getTranslations() { return translations != null ? translations : new HashSet<>(); }
Example #21
Source File: BaseDimensionalItemObject.java From dhis2-core with BSD 3-Clause "New" or "Revised" License | 5 votes |
@Override @JsonProperty @JacksonXmlProperty( namespace = DxfNamespaces.DXF_2_0 ) public LegendSet getLegendSet() { return legendSets.isEmpty() ? null : legendSets.get( 0 ); }
Example #22
Source File: TrackedEntityInstance.java From dhis2-core with BSD 3-Clause "New" or "Revised" License | 5 votes |
@JsonProperty @JacksonXmlElementWrapper( localName = "enrollments", namespace = DxfNamespaces.DXF_2_0 ) @JacksonXmlProperty( localName = "enrollment", namespace = DxfNamespaces.DXF_2_0 ) public List<Enrollment> getEnrollments() { return enrollments; }
Example #23
Source File: Metadata.java From dhis2-core with BSD 3-Clause "New" or "Revised" License | 5 votes |
@JsonProperty @JacksonXmlElementWrapper( localName = "mapViews", namespace = DxfNamespaces.DXF_2_0 ) @JacksonXmlProperty( localName = "mapView", namespace = DxfNamespaces.DXF_2_0 ) public List<MapView> getMapViews() { return mapViews; }
Example #24
Source File: ImportSummaries.java From dhis2-core with BSD 3-Clause "New" or "Revised" License | 4 votes |
@JsonProperty @JacksonXmlProperty( namespace = DxfNamespaces.DXF_2_0 ) public ImportStatus getStatus() { return status; }
Example #25
Source File: ImportOptions.java From dhis2-core with BSD 3-Clause "New" or "Revised" License | 4 votes |
@JsonProperty @JacksonXmlProperty( namespace = DxfNamespaces.DXF_2_0 ) public boolean isDryRun() { return dryRun; }
Example #26
Source File: CompleteDataSetRegistrationRequest.java From dhis2-core with BSD 3-Clause "New" or "Revised" License | 4 votes |
@JsonProperty @JacksonXmlProperty( namespace = DxfNamespaces.DXF_2_0 ) public String getDs() { return ds; }
Example #27
Source File: ImportSummary.java From dhis2-core with BSD 3-Clause "New" or "Revised" License | 4 votes |
@JsonProperty @JacksonXmlProperty( namespace = DxfNamespaces.DXF_2_0 ) public ImportCount getImportCount() { return importCount; }
Example #28
Source File: ValidationResult.java From dhis2-core with BSD 3-Clause "New" or "Revised" License | 4 votes |
@JsonProperty @JacksonXmlProperty( namespace = DxfNamespaces.DXF_2_0 ) public long getId() { return id; }
Example #29
Source File: ProgramStageInstance.java From dhis2-core with BSD 3-Clause "New" or "Revised" License | 4 votes |
@JsonProperty @JacksonXmlProperty( namespace = DxfNamespaces.DXF_2_0 ) public Geometry getGeometry() { return geometry; }
Example #30
Source File: DataElement.java From dhis2-core with BSD 3-Clause "New" or "Revised" License | 4 votes |
@JsonProperty @JacksonXmlProperty( namespace = DxfNamespaces.DXF_2_0 ) public OptionSet getCommentOptionSet() { return commentOptionSet; }