下面列出了怎么用com.fasterxml.jackson.annotation.JsonProperty.Access的API类实例代码及写法,或者点击链接到github查看源代码。
@Value.Auxiliary
@JsonProperty(access = Access.READ_ONLY)
int getUses();
@Override
@JsonProperty(access = Access.READ_ONLY)
public String getName() {
return title;
}
/**
* Provide number of connections using this connector
* <p>
* Note:
* Excluded from {@link ImmutableConnector#hashCode()} and {@link ImmutableConnector#equals(Object)}
*
* @return count of integrations
*/
@Value.Auxiliary
@JsonProperty(access = Access.READ_ONLY)
OptionalInt getUses();
/**
* Returns the natively supported navigation type by this source.
*
* @return the natively supported navigation type by this source.
*/
@JsonProperty(access = Access.READ_ONLY)
@JsonView(Views.Info.class)
public abstract NavigationType getNavigationType();