|
Spring Framework example source code file (org.springframework.samples.petclinic.Pet.xml)
The Spring Framework org.springframework.samples.petclinic.Pet.xml source code
<?xml version="1.0" encoding="UTF-8"?>
<class>
<name>org.springframework.samples.petclinic.Pet
<modifier>1
<superclass-handle>
<type-name>org.springframework.samples.petclinic.NamedEntity
</superclass-handle>
<last-refresh-timestamp>2006-07-23T20:57:41.778
<attributes>
<class-attribute>
<name>birthDate
<modifier>2
<type-declaration>
<type-handle>
<type-name>java.util.Date
</type-handle>
</type-declaration>
</class-attribute>
<class-attribute>
<name>owner
<modifier>2
<type-declaration>
<type-handle>
<type-name>org.springframework.samples.petclinic.Owner
</type-handle>
</type-declaration>
</class-attribute>
<class-attribute>
<name>type
<modifier>2
<type-declaration>
<type-handle>
<type-name>org.springframework.samples.petclinic.PetType
</type-handle>
</type-declaration>
</class-attribute>
<class-attribute>
<name>visits
<modifier>2
<type-declaration>
<type-handle>
<type-name>java.util.Set
</type-handle>
</type-declaration>
</class-attribute>
</attributes>
<methods>
<method>
<name>Pet
<constructor>true
<modifier>1
</method>
<method>
<name>addVisit
<modifier>1
<return-type-declaration>
<type-handle>
<type-name>void
</type-handle>
</return-type-declaration>
<method-parameters>
<method-parameter>
<type-declaration>
<type-handle>
<type-name>org.springframework.samples.petclinic.Visit
</type-handle>
</type-declaration>
</method-parameter>
</method-parameters>
</method>
<method>
<name>getBirthDate
<modifier>1
<return-type-declaration>
<type-handle>
<type-name>java.util.Date
</type-handle>
</return-type-declaration>
</method>
<method>
<name>getOwner
<modifier>1
<return-type-declaration>
<type-handle>
<type-name>org.springframework.samples.petclinic.Owner
</type-handle>
</return-type-declaration>
</method>
<method>
<name>getType
<modifier>1
<return-type-declaration>
<type-handle>
<type-name>org.springframework.samples.petclinic.PetType
</type-handle>
</return-type-declaration>
</method>
<method>
<name>getVisits
<modifier>1
<return-type-declaration>
<type-handle>
<type-name>java.util.List
</type-handle>
</return-type-declaration>
</method>
<method>
<name>getVisitsInternal
<modifier>4
<return-type-declaration>
<type-handle>
<type-name>java.util.Set
</type-handle>
</return-type-declaration>
</method>
<method>
<name>setBirthDate
<modifier>1
<return-type-declaration>
<type-handle>
<type-name>void
</type-handle>
</return-type-declaration>
<method-parameters>
<method-parameter>
<type-declaration>
<type-handle>
<type-name>java.util.Date
</type-handle>
</type-declaration>
</method-parameter>
</method-parameters>
</method>
<method>
<name>setOwner
<modifier>4
<return-type-declaration>
<type-handle>
<type-name>void
</type-handle>
</return-type-declaration>
<method-parameters>
<method-parameter>
<type-declaration>
<type-handle>
<type-name>org.springframework.samples.petclinic.Owner
</type-handle>
</type-declaration>
</method-parameter>
</method-parameters>
</method>
<method>
<name>setType
<modifier>1
<return-type-declaration>
<type-handle>
<type-name>void
</type-handle>
</return-type-declaration>
<method-parameters>
<method-parameter>
<type-declaration>
<type-handle>
<type-name>org.springframework.samples.petclinic.PetType
</type-handle>
</type-declaration>
</method-parameter>
</method-parameters>
</method>
<method>
<name>setVisitsInternal
<modifier>4
<return-type-declaration>
<type-handle>
<type-name>void
</type-handle>
</return-type-declaration>
<method-parameters>
<method-parameter>
<type-declaration>
<type-handle>
<type-name>java.util.Set
</type-handle>
</type-declaration>
</method-parameter>
</method-parameters>
</method>
</methods>
</class>
Other Spring Framework examples (source code examples)Here is a short list of links related to this Spring Framework org.springframework.samples.petclinic.Pet.xml source code file: |
| ... this post is sponsored by my books ... | |
#1 New Release! |
FP Best Seller |
Copyright 1998-2024 Alvin Alexander, alvinalexander.com
All Rights Reserved.
A percentage of advertising revenue from
pages under the /java/jwarehouse
URI on this website is
paid back to open source projects.