@Test public void testJavaSerialization() { ReferenceBook book = ReferenceBook.builder("book").build(); assertThat(SerializationUtils.clone(book), equalTo(book)); }
public static Builder builder(String name) { return new Builder(name); }
ReferenceBook implements Comparable<ReferenceBook>, Serializable { public static Builder builder(String name) { return new Builder(name); } }
ReferenceBook implements Comparable<ReferenceBook>, Serializable { public static Builder builder(String name) { return new Builder(name); } private  ReferenceBook(
      String name,
      List<AddressGroup> addressGroups,
      List<FilterGroup> filterGroups,
      List<InterfaceGroup> interfaceGroups,
      List<ServiceEndpoint> serviceEndpoints,
      List<ServiceObjectGroup> serviceObjectGroups,
      List<ServiceObject> serviceObjects); }
ReferenceBook implements Comparable<ReferenceBook>, Serializable { public static Builder builder(String name) { return new Builder(name); } private  ReferenceBook(
      String name,
      List<AddressGroup> addressGroups,
      List<FilterGroup> filterGroups,
      List<InterfaceGroup> interfaceGroups,
      List<ServiceEndpoint> serviceEndpoints,
      List<ServiceObjectGroup> serviceObjectGroups,
      List<ServiceObject> serviceObjects); static Builder builder(String name); @Override int compareTo(ReferenceBook o); @Override boolean equals(Object o); Optional<AddressGroup> getAddressGroup(String groupName); @Nonnull @JsonProperty(PROP_ADDRESS_GROUPS) SortedSet<AddressGroup> getAddressGroups(); Optional<FilterGroup> getFilterGroup(String groupName); @Nonnull @JsonProperty(PROP_FILTER_GROUPS) SortedSet<FilterGroup> getFilterGroups(); Optional<InterfaceGroup> getInterfaceGroup(String groupName); @Nonnull @JsonProperty(PROP_INTERFACE_GROUPS) SortedSet<InterfaceGroup> getInterfaceGroups(); @Nonnull @JsonProperty(PROP_NAME) String getName(); @Nonnull @JsonProperty(PROP_SERVICE_ENDPOINTS) SortedSet<ServiceEndpoint> getServiceEndpoints(); @Nonnull @JsonProperty(PROP_SERVICE_OBJECT_GROUPS) SortedSet<ServiceObjectGroup> getServiceObjectGroups(); @Nonnull @JsonProperty(PROP_SERVICE_OBJECTS) SortedSet<ServiceObject> getServiceObjects(); @Override int hashCode(); Set<IpWildcard> getAddressesRecursive(String addressGroupName); }
ReferenceBook implements Comparable<ReferenceBook>, Serializable { public static Builder builder(String name) { return new Builder(name); } private  ReferenceBook(
      String name,
      List<AddressGroup> addressGroups,
      List<FilterGroup> filterGroups,
      List<InterfaceGroup> interfaceGroups,
      List<ServiceEndpoint> serviceEndpoints,
      List<ServiceObjectGroup> serviceObjectGroups,
      List<ServiceObject> serviceObjects); static Builder builder(String name); @Override int compareTo(ReferenceBook o); @Override boolean equals(Object o); Optional<AddressGroup> getAddressGroup(String groupName); @Nonnull @JsonProperty(PROP_ADDRESS_GROUPS) SortedSet<AddressGroup> getAddressGroups(); Optional<FilterGroup> getFilterGroup(String groupName); @Nonnull @JsonProperty(PROP_FILTER_GROUPS) SortedSet<FilterGroup> getFilterGroups(); Optional<InterfaceGroup> getInterfaceGroup(String groupName); @Nonnull @JsonProperty(PROP_INTERFACE_GROUPS) SortedSet<InterfaceGroup> getInterfaceGroups(); @Nonnull @JsonProperty(PROP_NAME) String getName(); @Nonnull @JsonProperty(PROP_SERVICE_ENDPOINTS) SortedSet<ServiceEndpoint> getServiceEndpoints(); @Nonnull @JsonProperty(PROP_SERVICE_OBJECT_GROUPS) SortedSet<ServiceObjectGroup> getServiceObjectGroups(); @Nonnull @JsonProperty(PROP_SERVICE_OBJECTS) SortedSet<ServiceObject> getServiceObjects(); @Override int hashCode(); Set<IpWildcard> getAddressesRecursive(String addressGroupName);  }