Java 类org.codehaus.jackson.annotate.JsonBackReference 实例源码

项目:12306-android-Decompile    文件:JacksonAnnotationIntrospector.java   
public AnnotationIntrospector.ReferenceProperty findReferenceType(AnnotatedMember paramAnnotatedMember)
{
  JsonManagedReference localJsonManagedReference = (JsonManagedReference)paramAnnotatedMember.getAnnotation(JsonManagedReference.class);
  if (localJsonManagedReference != null)
    return AnnotationIntrospector.ReferenceProperty.managed(localJsonManagedReference.value());
  JsonBackReference localJsonBackReference = (JsonBackReference)paramAnnotatedMember.getAnnotation(JsonBackReference.class);
  if (localJsonBackReference != null)
    return AnnotationIntrospector.ReferenceProperty.back(localJsonBackReference.value());
  return null;
}
项目:12306-android-Decompile    文件:JacksonAnnotationIntrospector.java   
public AnnotationIntrospector.ReferenceProperty findReferenceType(AnnotatedMember paramAnnotatedMember)
{
  JsonManagedReference localJsonManagedReference = (JsonManagedReference)paramAnnotatedMember.getAnnotation(JsonManagedReference.class);
  if (localJsonManagedReference != null)
    return AnnotationIntrospector.ReferenceProperty.managed(localJsonManagedReference.value());
  JsonBackReference localJsonBackReference = (JsonBackReference)paramAnnotatedMember.getAnnotation(JsonBackReference.class);
  if (localJsonBackReference != null)
    return AnnotationIntrospector.ReferenceProperty.back(localJsonBackReference.value());
  return null;
}
项目:ingress-indonesia-dev    文件:JacksonAnnotationIntrospector.java   
public String findDeserializablePropertyName(AnnotatedField paramAnnotatedField)
{
  JsonProperty localJsonProperty = (JsonProperty)paramAnnotatedField.getAnnotation(JsonProperty.class);
  if (localJsonProperty != null)
    return localJsonProperty.value();
  if ((paramAnnotatedField.hasAnnotation(JsonDeserialize.class)) || (paramAnnotatedField.hasAnnotation(JsonView.class)) || (paramAnnotatedField.hasAnnotation(JsonBackReference.class)) || (paramAnnotatedField.hasAnnotation(JsonManagedReference.class)))
    return "";
  return null;
}
项目:ingress-indonesia-dev    文件:JacksonAnnotationIntrospector.java   
public AnnotationIntrospector.ReferenceProperty findReferenceType(AnnotatedMember paramAnnotatedMember)
{
  JsonManagedReference localJsonManagedReference = (JsonManagedReference)paramAnnotatedMember.getAnnotation(JsonManagedReference.class);
  if (localJsonManagedReference != null)
    return AnnotationIntrospector.ReferenceProperty.managed(localJsonManagedReference.value());
  JsonBackReference localJsonBackReference = (JsonBackReference)paramAnnotatedMember.getAnnotation(JsonBackReference.class);
  if (localJsonBackReference != null)
    return AnnotationIntrospector.ReferenceProperty.back(localJsonBackReference.value());
  return null;
}
项目:ingress-indonesia-dev    文件:JacksonAnnotationIntrospector.java   
public String findSettablePropertyName(AnnotatedMethod paramAnnotatedMethod)
{
  JsonProperty localJsonProperty = (JsonProperty)paramAnnotatedMethod.getAnnotation(JsonProperty.class);
  if (localJsonProperty != null)
    return localJsonProperty.value();
  JsonSetter localJsonSetter = (JsonSetter)paramAnnotatedMethod.getAnnotation(JsonSetter.class);
  if (localJsonSetter != null)
    return localJsonSetter.value();
  if ((paramAnnotatedMethod.hasAnnotation(JsonDeserialize.class)) || (paramAnnotatedMethod.hasAnnotation(JsonView.class)) || (paramAnnotatedMethod.hasAnnotation(JsonBackReference.class)) || (paramAnnotatedMethod.hasAnnotation(JsonManagedReference.class)))
    return "";
  return null;
}
项目:Spring-MVC-Blueprints    文件:MaterialType.java   
@XmlTransient
@JsonBackReference("materialType-type")
@OneToMany(fetch = FetchType.LAZY, mappedBy = "materialType")
public Set<Catalog> getCatalogs() {
    return this.catalogs;
}
项目:Spring-MVC-Blueprints    文件:Uom.java   
@JsonBackReference("uom-type")
@OneToMany(fetch = FetchType.LAZY, mappedBy = "uom")
public Set<Catalog> getCatalogs() {
    return this.catalogs;
}
项目:Spring-MVC-Blueprints    文件:Catalog.java   
@JsonBackReference("materialType-type")
@ManyToOne(fetch = FetchType.LAZY)
@JoinColumn(name = "tid", nullable = false)
public MaterialType getMaterialType() {
    return this.materialType;
}
项目:Spring-MVC-Blueprints    文件:Catalog.java   
@JsonBackReference("uom-type")
@ManyToOne(fetch = FetchType.LAZY)
@JoinColumn(name = "uomId", nullable = false)
public Uom getUom() {
    return this.uom;
}
项目:Spring-MVC-Blueprints    文件:MaterialType.java   
@XmlTransient
@JsonBackReference("materialType-type")
@OneToMany(fetch = FetchType.LAZY, mappedBy = "materialType")
public Set<Catalog> getCatalogs() {
    return this.catalogs;
}
项目:Spring-MVC-Blueprints    文件:Uom.java   
@JsonBackReference("uom-type")
@OneToMany(fetch = FetchType.LAZY, mappedBy = "uom")
public Set<Catalog> getCatalogs() {
    return this.catalogs;
}
项目:Spring-MVC-Blueprints    文件:Catalog.java   
@JsonBackReference("materialType-type")
@ManyToOne(fetch = FetchType.LAZY)
@JoinColumn(name = "tid", nullable = false)
public MaterialType getMaterialType() {
    return this.materialType;
}
项目:Spring-MVC-Blueprints    文件:Catalog.java   
@JsonBackReference("uom-type")
@ManyToOne(fetch = FetchType.LAZY)
@JoinColumn(name = "uomId", nullable = false)
public Uom getUom() {
    return this.uom;
}
项目:eureka    文件:JobEventEntity.java   
/**
 * @return the job
 */
@JsonBackReference("job-event")
public JobEntity getJob() {
    return this.job;
}
项目:u-qasar.platform    文件:TreeNode.java   
@XmlTransient
@JsonBackReference("parent")
@Override
public TreeNode getParent() {
    return parent;
}
项目:u-qasar.platform    文件:TreeNode.java   
@JsonIgnore
@JsonBackReference("parent")
public void setParent(TreeNode parent) {
    this.parent = parent;
    this.parent.children.add(this);
}
项目:CarSalesWebService    文件:Auto.java   
@JsonBackReference
public Autogear getAutogear() {
    return this.autogear;
}