diff options
Diffstat (limited to 'warehouse/src/main/java/app/market/web/form/breadcrumb')
-rw-r--r-- | warehouse/src/main/java/app/market/web/form/breadcrumb/BreadcrumbFrom.java | 36 | ||||
-rw-r--r-- | warehouse/src/main/java/app/market/web/form/breadcrumb/BreadcrumbSubFrom.java | 52 |
2 files changed, 88 insertions, 0 deletions
diff --git a/warehouse/src/main/java/app/market/web/form/breadcrumb/BreadcrumbFrom.java b/warehouse/src/main/java/app/market/web/form/breadcrumb/BreadcrumbFrom.java new file mode 100644 index 0000000..de7533b --- /dev/null +++ b/warehouse/src/main/java/app/market/web/form/breadcrumb/BreadcrumbFrom.java @@ -0,0 +1,36 @@ +/* + * Copyright (c) 2019 TOYOTA MOTOR CORPORATION + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package app.market.web.form.breadcrumb; + +import java.io.Serializable; +import java.util.ArrayList; +import java.util.List; + +public class BreadcrumbFrom implements Serializable { + + private static final long serialVersionUID = 1L; + + private List<BreadcrumbSubFrom> breadcrumb = new ArrayList<BreadcrumbSubFrom>(); + + public List<BreadcrumbSubFrom> getBreadcrumb() { + return breadcrumb; + } + + public void setBreadcrumb(List<BreadcrumbSubFrom> breadcrumb) { + this.breadcrumb = breadcrumb; + } + +}
\ No newline at end of file diff --git a/warehouse/src/main/java/app/market/web/form/breadcrumb/BreadcrumbSubFrom.java b/warehouse/src/main/java/app/market/web/form/breadcrumb/BreadcrumbSubFrom.java new file mode 100644 index 0000000..41b3a5b --- /dev/null +++ b/warehouse/src/main/java/app/market/web/form/breadcrumb/BreadcrumbSubFrom.java @@ -0,0 +1,52 @@ +/* + * Copyright (c) 2019 TOYOTA MOTOR CORPORATION + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package app.market.web.form.breadcrumb; + +import java.io.Serializable; + +public class BreadcrumbSubFrom implements Serializable { + + private static final long serialVersionUID = 1L; + + private String name; + private boolean current; + private String url; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public boolean isCurrent() { + return current; + } + + public void setCurrent(boolean current) { + this.current = current; + } + + public String getUrl() { + return url; + } + + public void setUrl(String url) { + this.url = url; + } + +}
\ No newline at end of file |